summaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorJames Tanner <tanner.jc@gmail.com>2014-03-10 16:11:24 -0500
committerJames Cammarata <jimi@sngx.net>2014-03-10 16:13:30 -0500
commitfc33860e5de5cdae1e010456357c0456da01ae89 (patch)
tree13931bec8dc455adf9732c61e14f85d952eca8b9 /commands
parenta1b11826625b7f48d517b088651dc5ed4d6eb9d6 (diff)
downloadansible-modules-core-fc33860e5de5cdae1e010456357c0456da01ae89.tar.gz
Force command action to not be executed by the shell unless specifically enabled
Diffstat (limited to 'commands')
-rw-r--r--commands/command2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/command b/commands/command
index 76d2f828..ba9ae30a 100644
--- a/commands/command
+++ b/commands/command
@@ -136,7 +136,7 @@ def main():
args = shlex.split(args)
startd = datetime.datetime.now()
- rc, out, err = module.run_command(args, executable=executable)
+ rc, out, err = module.run_command(args, executable=executable, use_unsafe_shell=shell)
endd = datetime.datetime.now()
delta = endd - startd