ansible/lib/ansible
Sam Doran 9d4c0dc111 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>
2019-01-23 11:32:25 -05:00
..
cli Handle complex quoting in extra args in pull cli (#50212) 2019-01-23 10:58:37 -05:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Increase persistent command_timeout default value (#51056) 2019-01-21 10:50:52 +05:30
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor Remove unnecessary calls to cache_block_tasks noop (#50715) 2019-01-17 08:29:26 +01:00
galaxy Consistent typesetting of "GitHub" (#50929) 2019-01-15 14:53:04 +01:00
inventory remove usless tb initiator 2019-01-22 17:33:20 -05:00
module_utils PR to implement support feature for creating NIOS network container (#51168) 2019-01-23 19:21:00 +05:30
modules PR to implement support feature for creating NIOS network container (#51168) 2019-01-23 19:21:00 +05:30
parsing More path encoding fixes. 2019-01-16 15:44:50 -08:00
playbook allows loop pause for subseconds (#50461) 2019-01-18 22:41:29 -05:00
plugins Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
template Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
utils Update vmware.py minor typo (#51047) 2019-01-21 13:52:26 +05:30
vars Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
__init__.py
constants.py become_method: make dzdo more like sudo (#47946) 2018-12-04 18:24:32 -05:00
context.py Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
release.py