community.general/lib/ansible/plugins
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
..
action Merge pull request #13247 from bcoca/fetch_fixes 2015-11-24 10:55:23 -08:00
cache substitute tilde and env vars before storing C.CACHE_PLUGIN_CONNECTION as instance attribute 2015-11-12 16:52:02 +01:00
callback added missing : 2015-11-25 10:52:42 -08:00
connection Explicitly accept become_success in awaiting_prompt state 2015-11-26 06:06:01 +05:30
filter Add python3-compat boilerplate to all .py files in lib/ansible 2015-10-19 18:36:19 -07:00
inventory Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version. 2015-10-16 08:21:28 -07:00
lookup no need to be executable 2015-11-16 14:40:35 -08:00
shell switched to backticks to allow for non bourne shells to work 2015-10-29 12:45:53 -04:00
strategy Fixing a few bugs in the HostVars performance areas 2015-11-17 09:15:10 -05:00
test Revert "success should not include skipped" 2015-11-19 11:12:18 -08:00
vars Making the switch to v2 2015-05-03 21:47:26 -05:00
__init__.py Fix non-module plugins picking up files that did not end in .py. 2015-11-19 09:39:37 -08:00