From 891b1e371a6d72a5f23849fb16bf8d49d893dfc6 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 9 Jan 2013 14:15:47 +0100 Subject: [PATCH] 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. --- lib/ansible/runner/action_plugins/raw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/action_plugins/raw.py b/lib/ansible/runner/action_plugins/raw.py index 5904331102..f083694e68 100644 --- a/lib/ansible/runner/action_plugins/raw.py +++ b/lib/ansible/runner/action_plugins/raw.py @@ -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)(?