mirror of https://github.com/ansible/ansible.git
On Python 2, leave all fds open since there is no mechanism to close specific fds with subprocess.Popen() on Python 2
Add unit tests.
Co-authored-by: Matt Martz <matt@sivel.net>
(cherry picked from commit 617fbad743)
Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/67297/head
parent
6120cd18e2
commit
3245b3dff2
@ -0,0 +1,6 @@
|
||||
bugfixes:
|
||||
- synchronize - fix password authentication on Python 2 (https://github.com/ansible/ansible/issues/56629)
|
||||
- >
|
||||
AnsibleModule.run_command() - set ``close_fds`` to ``False`` on Python 2 if ``pass_fds`` are passed to
|
||||
``run_command()``. Since ``subprocess.Popen()`` on Python 2 does not have the ``pass_fds`` option,
|
||||
there is no way to exclude a specific list of file descriptors from being closed.
|
||||
Loading…
Reference in New Issue