mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
support for quotes strings in command module (via posix=False), related fixes to keep other things from breaking
This commit is contained in:
parent
f82cc59d43
commit
99d5796605
1 changed files with 2 additions and 2 deletions
|
@ -370,8 +370,8 @@ class PlayBook(object):
|
|||
if type(vars_files) != list:
|
||||
raise errors.AnsibleError("vars_files must be a list")
|
||||
for host in host_list:
|
||||
cache_vars = SETUP_CACHE.get(host,{})
|
||||
SETUP_CACHE[host] = {}
|
||||
cache_vars = SETUP_CACHE.get(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
|
||||
|
|
Loading…
Reference in a new issue