This website requires JavaScript.
Explore
Help
Sign in
wbrawner
/
ansible
Watch
1
Star
0
Fork
You've already forked ansible
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
6857fb2c39
ansible
/
changelogs
/
fragments
/
winrm-ansible-conn-error.yaml
4 lines
79 B
YAML
Raw
Normal View
History
Unescape
Escape
Raise AnsibleConnectionError on winrm connnection errors (#51744) * 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
2019-02-13 19:55:55 +00:00
---
minor_changes
:
[2.8]Changelog fix/2.8 (#56461) * fixed batch of spelling errors * more spelling errors
2019-05-15 14:50:33 +00:00
-
Raise AnsibleConnectionError on winrm connection errors
Reference in a new issue
Copy permalink