Moving over all lookup plugins to v2

This commit is contained in:
James Cammarata 2015-01-09 09:37:31 -06:00
parent 45f8e6f3b0
commit 1544dde932
54 changed files with 1650 additions and 37 deletions

View file

@ -45,7 +45,7 @@ class Conditional:
False if any of them evaluate as such.
'''
templar = Templar(variables=all_vars)
templar = Templar(loader=self._loader, variables=all_vars)
for conditional in self.when:
if not self._check_conditional(conditional, templar):
return False