community.general/lib/ansible/plugins/connection
piotrsmolinski c3ffc49914 reset_connection fixes: #23621 (#25211)
* moved the logging statement

moved the logging statement before the actual action

* added status code check

In the existing implementation when the ssh command fails the command
result is silently discarded. It hides the fact that the disconnection
did not go as expected. Effectively the intended action was not
successful, but the play continues.

* Revert "added status code check"

This reverts commit fe2eb2ae4aeb4812fa2f59ccdfabc9efc677e657.

* added command status code check

In the existing implementation the command is checked for the success.
As a result failed execution is silently discarded. The change tests for
return code and fails if it did not work.
2017-05-31 13:40:57 -04:00
..
__init__.py Fix password prompt matching (#24081) 2017-05-01 11:18:15 -04:00
accelerate.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
chroot.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
docker.py enable su support for docker connection 2017-05-24 16:53:08 -07:00
funcd.py Fix funcd to at least import without errors. (#16288) 2016-07-29 16:19:38 -04:00
iocage.py PEP 8 whitespace cleanup. (#20783) 2017-01-27 15:45:23 -08:00
jail.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
libvirt_lxc.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
local.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
lxc.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
lxd.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
netconf.py Remove ununsed Connection.log method (#22837) 2017-03-23 12:24:39 -04:00
network_cli.py Add eos changes for Python3 (#24600) 2017-05-24 19:40:38 +05:30
paramiko_ssh.py Include error exception in AnsibleError 2017-05-23 10:19:14 -04:00
persistent.py Fix for persistent connection plugin on Python3 (#24431) 2017-05-12 09:13:51 -07:00
ssh.py reset_connection fixes: #23621 (#25211) 2017-05-31 13:40:57 -04:00
winrm.py Convert some more base64 strings to text for winrm, to support async and become (#24796) 2017-05-18 16:06:51 -07:00
zone.py Include error exception in AnsibleError 2017-05-23 10:19:14 -04:00