Commit b1a37dcc by James Cammarata

Revert "Rejoin args list into a string for run_command when using an unsafe shell"

This reverts commit 4273cb2d.
parent 4273cb2d
......@@ -1009,9 +1009,7 @@ class AnsibleModule(object):
shell = False
if isinstance(args, list):
if use_unsafe_shell:
args = " ".join([pipes.quote(x) for x in args])
shell = True
pass
elif isinstance(args, basestring) and use_unsafe_shell:
shell = True
elif isinstance(args, basestring):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment