Don't raise AnsibleConnectionFailure if the ssh process has already died. (#53534)

* Don't raise AnsibleConnectionFailure if the ssh_process has already died. Fixes #53487

* Better support for file not found messages

* Add changelog fragment
This commit is contained in:
Matt Martz 2019-03-12 10:41:30 -05:00 committed by GitHub
commit e9f9bcae6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 6 deletions

View file

@ -0,0 +1,5 @@
bugfixes:
- ssh - Check the return code of the ssh process before raising AnsibleConnectionFailure, as the error message
for the ssh process will likely contain more useful information. This will improve the missing interpreter messaging
when using modules such as setup which have a larger payload to transfer when combined with pipelining.
(https://github.com/ansible/ansible/issues/53487)