From bc709e7b6703ba7fc9a46f69c204f549d3511ed4 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 7 Feb 2013 11:56:15 +0100 Subject: [PATCH] expand_lists should default to False --- lib/ansible/utils/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/template.py b/lib/ansible/utils/template.py index fce2861903..c62cd220df 100644 --- a/lib/ansible/utils/template.py +++ b/lib/ansible/utils/template.py @@ -219,7 +219,7 @@ def varReplace(basedir, raw, vars, lookup_fatal=True, depth=0, expand_lists=Fals return ''.join(done) -def template(basedir, varname, vars, lookup_fatal=True, expand_lists=True, depth=0): +def template(basedir, varname, vars, lookup_fatal=True, expand_lists=False, depth=0): ''' templates a data structure by traversing it and substituting for other data structures ''' if isinstance(varname, basestring):