community.general/lib/ansible/plugins/connection
Peter Sprygada dc23667cc2 add back reverted change to network_cli (#18761)
This adds back the change to the network_cli plugin.  Ths change adds
the ensure_connect decorator to the open_shell() method to make sure
the connection is valid before trying to open a shell.

The issue was due to the addition of the decorator that will call
_connect() when there is no connection.  The _connect() method should
have been mocked in the test case.  This commit fixes the test
case as well

Change was originally reverted in c414ded69a
2016-12-05 21:42:09 -05:00
..
__init__.py Normalize text and byte type in the ssh plugin helper method that builds up an ssh command (#17860) 2016-10-02 14:55:55 -07:00
accelerate.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
chroot.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 2016-11-17 13:18:29 -08:00
docker.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 2016-11-17 13:18:29 -08:00
funcd.py Fix funcd to at least import without errors. (#16288) 2016-07-29 16:19:38 -04:00
jail.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 2016-11-17 13:18:29 -08:00
libvirt_lxc.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 2016-11-17 13:18:29 -08:00
local.py Fixes to handle non-ascii become passwords 2016-10-15 16:25:19 -07:00
lxc.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
lxd.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
network_cli.py add back reverted change to network_cli (#18761) 2016-12-05 21:42:09 -05:00
paramiko_ssh.py adds two new plugins that use ansible-connection for persistence (#18572) 2016-11-28 12:49:40 -05:00
persistent.py Adding a persistent connection utility 2016-11-21 12:35:27 -06:00
ssh.py Fix fetching files with scp (#18673) 2016-11-30 20:10:49 -08:00
winrm.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
zone.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 2016-11-17 13:18:29 -08:00