1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/ssh-check-returncode-before-exception.yaml
Matt Martz e9f9bcae6a
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
2019-03-12 10:41:30 -05:00

5 lines
398 B
YAML

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)