mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Quote long variables in playbooks when feeding them to the setup command
This commit is contained in:
@@ -449,7 +449,7 @@ class PlayBook(object):
|
||||
# magic in Runner()
|
||||
push_var_str=''
|
||||
for (k,v) in vars.iteritems():
|
||||
push_var_str += "%s=%s " % (k,v)
|
||||
push_var_str += "%s=\"%s\" " % (k,v)
|
||||
|
||||
# push any variables down to the system
|
||||
setup_results = ansible.runner.Runner(
|
||||
|
||||
Reference in New Issue
Block a user