community.general/lib/ansible
Devananda van der Veen 08f270ad71
Send empty command before recv
On some switches, starting an SSH connection and immediately calling
recv() will result in a connection timeout. The switch requires some
input on the channel before it provides any prompt.

As such, this patch sends an empty command immediately upon connection,
triggering the switch to send a prompt which the shell can then
interpret.

Signed-off-by: Devananda van der Veen <devananda.vdv@gmail.com>
2016-03-10 11:11:18 -08:00
..
cli Also changing ansible-shell -> ansible-console in cli code comments 2016-03-09 13:53:52 -05:00
compat
config
errors Relocate use of ERROR to display class, to avoid doubling up 2016-01-19 12:10:39 -05:00
executor corrected changed_when handling 2016-03-09 16:09:05 -05:00
galaxy Fix bug 14715: Galaxy CLI paging error 2016-02-29 21:21:32 -05:00
inventory added warning for when host file doesn't exist 2016-02-29 16:18:06 -05:00
module_utils Send empty command before recv 2016-03-10 11:11:18 -08:00
modules Updating submodule refs 2016-03-09 15:52:23 -05:00
new_inventory
parsing Use to_bytes on filenames in filesystem calls. 2016-03-04 09:08:41 -08:00
playbook make all conditionals lists 2016-03-09 09:33:59 -05:00
plugins Handle shlex incompatibility between python2.6 and python3 2016-03-09 11:27:19 -08:00
template Merge pull request #14504 from bcoca/template_comments 2016-03-06 10:45:18 -05:00
utils added v for least verbose display function 2016-03-07 13:17:31 -05:00
vars make sure group_names is always sorted 2016-03-04 13:12:35 -05:00
__init__.py Bump version in devel now that stable-2.0 has been branched 2015-12-02 17:57:53 +05:30
constants.py draft 1st release of ansible-console 2016-03-07 20:25:21 -05:00
test-requirements.txt