You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/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
9 years ago
..
__init__.py Normalize text and byte type in the ssh plugin helper method that builds up an ssh command (#17860) 9 years ago
accelerate.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 10 years ago
chroot.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 9 years ago
docker.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 9 years ago
funcd.py Fix funcd to at least import without errors. (#16288) 10 years ago
jail.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 9 years ago
libvirt_lxc.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 9 years ago
local.py Fixes to handle non-ascii become passwords 9 years ago
lxc.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 10 years ago
lxd.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 10 years ago
network_cli.py add back reverted change to network_cli (#18761) 9 years ago
paramiko_ssh.py adds two new plugins that use ansible-connection for persistence (#18572) 9 years ago
persistent.py Adding a persistent connection utility 9 years ago
ssh.py Fix fetching files with scp (#18673) 9 years ago
winrm.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 10 years ago
zone.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 9 years ago