mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Revert "Make sudo+requiretty and ANSIBLE_PIPELINING work together"
This reverts commit f488de8599
.
Reverting for now due to hard to pin down bugs: #13410 #13411
This commit is contained in:
parent
fbb63d66e7
commit
e201a255d1
5 changed files with 39 additions and 25 deletions
|
@ -110,7 +110,7 @@ class ShellModule(object):
|
|||
''' % dict(path=path)
|
||||
return self._encode_script(script)
|
||||
|
||||
def build_module_command(self, env_string, shebang, cmd, arg_path=None, rm_tmp=None, python_interpreter=None):
|
||||
def build_module_command(self, env_string, shebang, cmd, arg_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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue