mirror of https://github.com/ansible/ansible.git
synchronize - fix password authentication (#66542)
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>pull/66665/head
parent
986c9cf6a1
commit
617fbad743
@ -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