mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
sudo tweaks
This commit is contained in:
parent
7ae75eb14b
commit
72cc99722d
2 changed files with 23 additions and 6 deletions
|
@ -356,7 +356,7 @@ class Runner(object):
|
|||
cmd = "%s %s" % (remote_module_path, argsfile)
|
||||
else:
|
||||
cmd = " ".join([str(x) for x in [remote_module_path, async_jid, async_limit, async_module, argsfile]])
|
||||
return [ self._exec_command(conn, cmd), client_executed_str ]
|
||||
return [ self._exec_command(conn, cmd, sudoable=True), client_executed_str ]
|
||||
|
||||
# *****************************************************
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue