From ac1493faae40c5d7fd91bf7cde0ac058d9f5c66f Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 12 Mar 2015 10:01:00 -0400 Subject: [PATCH] fixed missed conversion of su to become --- lib/ansible/runner/action_plugins/raw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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