Skip to content

Commit

Permalink
fixes issues with listyfing failing too often
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Nov 25, 2014
1 parent 7d2937b commit e3feb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ def listify_lookup_plugin_terms(terms, basedir, inject):
# if not already a list, get ready to evaluate with Jinja2
# not sure why the "/" is in above code :)
try:
new_terms = template.template(basedir, "{{%s}}" % terms, inject, convert_bare=True, fail_on_undefined=C.DEFAULT_UNDEFINED_VAR_BEHAVIOR)
new_terms = template.template(basedir, "{{%s}}" % terms, inject, convert_bare=True)
if isinstance(new_terms, basestring) and "{{" in new_terms:
pass
else:
Expand Down

0 comments on commit e3feb10

Please sign in to comment.