You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/changelogs
Simon Westphahl ab4cfa1b50 Backport: Raise AnsibleConnectionError on winrm connnection errors (#52226)
* Raise AnsibleConnectionError on winrm con errors

Currently all uncaught exceptions of the requests library that is used
in winrm will lead to an "Unexpected failure during module execution".

Instead of letting all exceptions bubble up we catch the connection
related errors (inkl. timeouts) and re-raise them as
AnsibleConnectionError so Ansible will mark the host as unreachable and
exit with the correct return code.

This is especially important for Zuul (https://zuul-ci.org) to
distinguish between failures and connection/host related errors.

* Update lib/ansible/plugins/connection/winrm.py

Co-Authored-By: westphahl <westphahl@gmail.com>

* Add changelog fragment
7 years ago
..
fragments Backport: Raise AnsibleConnectionError on winrm connnection errors (#52226) 7 years ago
.changes.yaml New release v2.6.13 7 years ago
CHANGELOG-v2.6.rst New release v2.6.13 7 years ago
config.yaml Implement new changelog generator. 8 years ago
rhsm_repository-loop-fix-improvements.yaml [stable-2.6] Prevent duplicate entries in rhsm_repository module (#48107) 7 years ago