From 82faba619e743c0b15ed2bba1b0dd51ee47e98f1 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 2 Oct 2015 13:25:26 -0400 Subject: [PATCH] Also add args_path param to powershell shell plugin --- lib/ansible/plugins/shell/powershell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/shell/powershell.py b/lib/ansible/plugins/shell/powershell.py index aba3183e768..de82fbfe1be 100644 --- a/lib/ansible/plugins/shell/powershell.py +++ b/lib/ansible/plugins/shell/powershell.py @@ -103,7 +103,7 @@ class ShellModule(object): ''' % dict(path=path) return self._encode_script(script) - def build_module_command(self, env_string, shebang, cmd, rm_tmp=None): + def build_module_command(self, env_string, shebang, cmd, args_path=None, rm_tmp=None): cmd_parts = shlex.split(to_bytes(cmd), posix=False) cmd_parts = map(to_unicode, cmd_parts) if shebang and shebang.lower() == '#!powershell':