From c7dde72aa0a3b211efd2b52196b5cb424412719c Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 12 Aug 2015 10:49:00 -0400 Subject: [PATCH] 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. --- lib/ansible/utils/listify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/listify.py b/lib/ansible/utils/listify.py index e23c400506..1be5f6da6e 100644 --- a/lib/ansible/utils/listify.py +++ b/lib/ansible/utils/listify.py @@ -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()