mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 03:30:22 -07: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
|
@ -371,7 +371,7 @@ class PlayBook(object):
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue