mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed missed su to become conversion
This commit is contained in:
parent
eb69eb4108
commit
f229b770b2
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ActionModule(object):
|
|||
sudoable = False
|
||||
else:
|
||||
chmod_mode = '+rx'
|
||||
self.runner._remote_chmod(conn, chmod_mode, tmp_src, tmp, sudoable=sudoable, su=self.runner.su)
|
||||
self.runner._remote_chmod(conn, chmod_mode, tmp_src, tmp, sudoable=sudoable, become=self.runner.become)
|
||||
|
||||
# add preparation steps to one ssh roundtrip executing the script
|
||||
env_string = self.runner._compute_environment_string(conn, inject)
|
||||
|
|
Loading…
Reference in a new issue