summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-03-12 10:01:00 -0400
committerBrian Coca <brian.coca+git@gmail.com>2015-03-12 10:02:03 -0400
commit4db4fcd5a6eb21209a9c28feab9a9e94ebb1eef3 (patch)
tree463a9876711ae62cb76890298dd1ebe88e6d56ce
parent49417558511b66084044e21186e42d133e354861 (diff)
downloadansible-4db4fcd5a6eb21209a9c28feab9a9e94ebb1eef3.tar.gz
fixed missed conversion of su to become
-rw-r--r--lib/ansible/runner/action_plugins/raw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/runner/action_plugins/raw.py b/lib/ansible/runner/action_plugins/raw.py
index 548eafbf70..b1ba2c99d9 100644
--- a/lib/ansible/runner/action_plugins/raw.py
+++ b/lib/ansible/runner/action_plugins/raw.py
@@ -44,7 +44,7 @@ class ActionModule(object):
module_args = r.sub("", module_args)
result = self.runner._low_level_exec_command(conn, module_args, tmp, sudoable=True, executable=executable,
- su=self.runner.su)
+ become=self.runner.become)
# for some modules (script, raw), the sudo success key
# may leak into the stdout due to the way the sudo/su
# command is constructed, so we filter that out here