mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
fixed missed conversion of su to become
This commit is contained in:
parent
ee831e1071
commit
ac1493faae
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class ActionModule(object):
|
||||||
module_args = r.sub("", module_args)
|
module_args = r.sub("", module_args)
|
||||||
|
|
||||||
result = self.runner._low_level_exec_command(conn, module_args, tmp, sudoable=True, executable=executable,
|
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
|
# for some modules (script, raw), the sudo success key
|
||||||
# may leak into the stdout due to the way the sudo/su
|
# may leak into the stdout due to the way the sudo/su
|
||||||
# command is constructed, so we filter that out here
|
# command is constructed, so we filter that out here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue