community.general/lib/ansible/plugins/connection
Abhijit Menon-Sen f20e2630b0 Explicitly accept become_success in awaiting_prompt state
If we request escalation with a password, we start in expecting_prompt
state. If the escalation then succeeds without the password, i.e., the
become_success response arrives, we must explicitly move into the next
state (awaiting_escalation, which immediately goes into ready_to_send),
so that we no longer try to apply the timeout.

Otherwise, we would leak the success notification and eventually
timeout. But if the module response did arrive before the timeout
expired, the "process has already exited" test would do the right
thing by accident (which is why it didn't fail more often).

Fixes #13289
2015-11-26 06:06:01 +05:30
..
__init__.py Properly check for prompting state when re-using ssh connection 2015-11-24 09:09:54 -05:00
accelerate.py Finish up plugin porting to global display 2015-11-11 10:44:23 -08:00
chroot.py Finish up plugin porting to global display 2015-11-11 10:44:23 -08:00
docker.py Docker cp sets file ownership to root:root so we can't use it. 2015-11-20 07:45:00 -08:00
funcd.py Remove tmp as a parameter to the connection plugins 2015-09-24 13:33:57 -07:00
jail.py Finish up plugin porting to global display 2015-11-11 10:44:23 -08:00
libvirt_lxc.py Finish up plugin porting to global display 2015-11-11 10:44:23 -08:00
local.py Finish up plugin porting to global display 2015-11-11 10:44:23 -08:00
paramiko_ssh.py Finish up plugin porting to global display 2015-11-11 10:44:23 -08:00
ssh.py Explicitly accept become_success in awaiting_prompt state 2015-11-26 06:06:01 +05:30
winrm.py Modify task executor to reuse connection inside a loop. Fix WinRM connection to set _connected properly and display when remote shell is opened/closed. Add integration test using raw + with_items. 2015-11-23 11:53:05 -05:00
zone.py zone connection plugin bugfixes and pipelining and sudo become methods enabled! 2015-11-16 11:14:13 -08:00