sudo tweaks

This commit is contained in:
Michael DeHaan 2012-03-28 23:30:31 -04:00
parent 7ae75eb14b
commit 72cc99722d
2 changed files with 23 additions and 6 deletions

View file

@ -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 ]
# *****************************************************