Default to not using an executable
For compatibility with older releases as well as avoiding things like action: raw executable= show status to communicate with devices that don't have sh.
This commit is contained in:
parent
92ad206b84
commit
891b1e371a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class ActionModule(object):
|
|||
self.runner = runner
|
||||
|
||||
def run(self, conn, tmp, module_name, module_args, inject):
|
||||
executable = None
|
||||
executable = ''
|
||||
# From library/command, keep in sync
|
||||
r = re.compile(r'(^|\s)(executable)=(?P<quote>[\'"])?(.*?)(?(quote)(?<!\\)(?P=quote))((?<!\\)\s|$)')
|
||||
for m in r.finditer(module_args):
|
||||
|
|
Loading…
Reference in a new issue