mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
support for quotes strings in command module (via posix=False), related fixes to keep other things from breaking
This commit is contained in:
committed by
Michael DeHaan
parent
f82cc59d43
commit
99d5796605
@@ -370,8 +370,8 @@ class PlayBook(object):
|
|||||||
if type(vars_files) != list:
|
if type(vars_files) != list:
|
||||||
raise errors.AnsibleError("vars_files must be a list")
|
raise errors.AnsibleError("vars_files must be a list")
|
||||||
for host in host_list:
|
for host in host_list:
|
||||||
cache_vars = SETUP_CACHE.get(host,{})
|
cache_vars = SETUP_CACHE.get(host,{})
|
||||||
SETUP_CACHE[host] = {}
|
SETUP_CACHE[host] = cache_vars
|
||||||
for filename in vars_files:
|
for filename in vars_files:
|
||||||
if type(filename) == list:
|
if type(filename) == list:
|
||||||
# loop over all filenames, loading the first one, and failing if # none found
|
# loop over all filenames, loading the first one, and failing if # none found
|
||||||
|
|||||||
Reference in New Issue
Block a user