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:
James Cammarata 2015-08-12 10:49:00 -04:00
parent ac66e4001c
commit c7dde72aa0

View file

@ -26,7 +26,7 @@ from ansible.template.safe_eval import safe_eval
__all__ = ['listify_lookup_plugin_terms']
#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):
stripped = terms.strip()