support for quotes strings in command module (via posix=False), related fixes to keep other things from breaking

This commit is contained in:
Matthew Williams 2012-03-30 09:44:00 -07:00 committed by Michael DeHaan
parent f82cc59d43
commit 99d5796605

View file

@ -371,7 +371,7 @@ class PlayBook(object):
raise errors.AnsibleError("vars_files must be a list")
for host in host_list:
cache_vars = SETUP_CACHE.get(host,{})
SETUP_CACHE[host] = {}
SETUP_CACHE[host] = cache_vars
for filename in vars_files:
if type(filename) == list:
# loop over all filenames, loading the first one, and failing if # none found