Default listify to converting bare variables again
Since we explicitly set convert_bare=False in the template lookup code, but still want individual looks that call listify directly to convert bare variables if needed.
This commit is contained in:
parent
ac66e4001c
commit
c7dde72aa0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ from ansible.template.safe_eval import safe_eval
|
||||||
__all__ = ['listify_lookup_plugin_terms']
|
__all__ = ['listify_lookup_plugin_terms']
|
||||||
|
|
||||||
#FIXME: probably just move this into lookup plugin base class
|
#FIXME: probably just move this into lookup plugin base class
|
||||||
def listify_lookup_plugin_terms(terms, templar, loader, fail_on_undefined=False, convert_bare=False):
|
def listify_lookup_plugin_terms(terms, templar, loader, fail_on_undefined=False, convert_bare=True):
|
||||||
|
|
||||||
if isinstance(terms, basestring):
|
if isinstance(terms, basestring):
|
||||||
stripped = terms.strip()
|
stripped = terms.strip()
|
||||||
|
|
Loading…
Reference in a new issue