ansible/test/units/plugins/connection
Sam Doran 44d7c1e23e [stable-2.7] Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776)
* Catch SSH authentication errors and don't retry multiple times to prevent account lock out

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Subclass AnsibleAuthenticationFailure from AnsibleConnectionFailure

Use comparison rather than range() because it's much more efficient.

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Add tests

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Make paramiko_ssh connection plugin behave the same way

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Add changelog

Signed-off-by: Sam Doran <sdoran@redhat.com>.
(cherry picked from commit 9d4c0dc111)

Co-authored-by: Sam Doran <sdoran@redhat.com>
Signed-off-by: Sam Doran <sdoran@redhat.com>
2019-01-24 10:38:08 -08:00
..
__init__.py
test_connection.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
test_netconf.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
test_network_cli.py Fix prompt mismatch issue for ios (#47004) 2018-10-23 06:34:46 -07:00
test_psrp.py psrp: Added new Windows connection plugin (#41729) 2018-08-21 16:43:13 -07:00
test_ssh.py [stable-2.7] Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-24 10:38:08 -08:00
test_winrm.py win_reboot: fix 2.6 issues and better handle post reboot reboot (#42330) 2018-07-11 09:12:29 +10:00