Files
community.general/lib/ansible/plugins/action
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
..
2018-08-06 10:41:57 -04:00
2018-08-14 13:52:15 +05:30
2018-05-30 15:23:26 +05:30
2018-08-21 10:02:40 -07:00
2018-11-01 14:07:41 +05:30