community.general/lib/ansible/plugins
Sam Doran 5eb7f5781e
Reboot - Fix errors when using Paramiko connection (#49002)
Different connection plugins return different data when throwing exceptions. The Paramiko connection plugin does not return a text sting, which caused an exception.

The ssh connection plugin returns multi-line errors, which makes the debug logs harder to read. Only return the last line in that case in order to make the logs more readable.

When experiencing a connection failure, reset the connection.

Add reset() to paramiko_ssh

Indicate thet conection state is False when running close(). This is needed by the ensure_connected() decorator to work properly.


Co-authored-by: Matt Martz <matt@sivel.net>
2018-11-27 16:48:57 -05:00
..
action Reboot - Fix errors when using Paramiko connection (#49002) 2018-11-27 16:48:57 -05:00
cache Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
callback Diff mode returns yaml diffs in yaml callback plugin (#48794) 2018-11-22 18:03:25 +00:00
cliconf Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
connection Reboot - Fix errors when using Paramiko connection (#49002) 2018-11-27 16:48:57 -05:00
filter k8s append_hash (#48830) 2018-11-22 08:14:43 +00:00
httpapi Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
inventory fix constructed functionality in openstack inventory plugin (#48833) 2018-11-27 13:01:56 -05:00
lookup Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
netconf Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
shell split PS wrapper and payload (CVE-2018-16859) (#49142) 2018-11-26 15:28:21 -08:00
strategy Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
terminal Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
test Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
vars Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
__init__.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
loader.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00