Commit Graph

43 Commits (devel)

Author SHA1 Message Date
Sloane Hertel da6735160d
Fix passing callbacks the delegated connection, host, port, and user (#85397)
10 months ago
Matt Davis b71d9aa4a5
Decouple SSH client verbosity from Ansible display (#85224)
12 months ago
Matt Martz 8127abbc29
Don't inherit stdio (#82770)
1 year ago
Matt Martz 3684b4824d
Remove reliance on `sshpass` and utilize `SSH_ASKPASS` (#83936)
1 year ago
Lee Garrett 7e3916b767
Typo fixes and other bits and bobs (#83672)
2 years ago
Abhijeet Kasurde 21a987b8b6
connection: update test coverage for SSH connection plugin (#82916)
2 years ago
Abhijeet Kasurde d86ad77d6f
Remove deprecated scp_if_ssh from SSH connection plugin (#82072)
2 years ago
Matt Clay 5b1b0ce762 Remove Python 2 compat (via six) from unit tests
3 years ago
Matt Clay 18e8401edd
Remove Python 2.x compat from unit tests (#82109)
3 years ago
Sviatoslav Sydorenko d2ba76c117
Remove Python `< 3.5` `selectors` fallbacks (#81872)
3 years ago
Matt Clay 9f899f9492
Require `from __future__ import annotations` (#81902)
3 years ago
Matt Clay 8c9f5c9106
Remove unused unit test code (#81150)
3 years ago
Matt Clay 2cd1744be3
Use ansible.module_utils.common.text.converters (#80704)
3 years ago
Matt Clay 25d859f8fb
Clean up unused imports in unit tests (#79893)
3 years ago
Matt Clay 3a9a23fb1a
Use unittest.mock instead of mock. (#77883)
4 years ago
Matt Clay 1a5853d794
Remove obsolete units.compat.mock compat layer. (#77118)
4 years ago
Brian Coca 0ff80a15ba
ssh connection avoid parsiing own debug (#76732)
4 years ago
Sam Doran a8de35e131
task_executor - use correct value for ssh connection retries (#75155)
5 years ago
David Lee Whiteside 805799ac8b
add pkcs11 support to Ansible ssh connection module (#32829)
5 years ago
Brian Coca b07a78b4ba
remove deprecated connection password functions (#74155)
5 years ago
Brian Coca 935528e22e
finish migrating ssh plugin to config system (#73708)
5 years ago
Brian Coca 2b0cd2c13f
use correct executable and options in all cases (#73323)
5 years ago
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
6 years ago
Rick Elrod 65edd5e37f Split test_connection into individual files
6 years ago
Matt Martz c55317a2bd
Update connection plugins to use correct, non-deprecated, methods (#52038)
7 years ago
Matt Martz 445ff39f94
Become plugins (#50991)
7 years ago
Sam Doran 9d4c0dc111 Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776)
7 years ago
Matt Clay 3033fd96b0
Move unit test compat code out of `lib/ansible/`. (#46996)
8 years ago
Brian Coca 4aac0f5f18
allow configuring sftp/scp executables (#36648)
8 years ago
Matt Martz 29c1d5cb5d Ensure that the become password is written on py3 in the ssh connection plugin. Fixes #34727
8 years ago
jctanner 218987eac1
ANSIBLE_SSH_USETTY configuration option (#33148)
9 years ago
Toshio Kuratomi 3edac559d3 the smart transport is broken by ssh retry code
9 years ago
Gabor Lekeny 7eab802669 SSH fails with '"parsed": false' error message
9 years ago
Dag Wieers 4efec414e7 test/: PEP8 compliancy (#24803)
9 years ago
Strahinja Kustudić 9f0be5a556 Ignores ControlPersist broken pipe errors. Fixes #16731
9 years ago
Toshio Kuratomi 2fff690caa Update module_utils.six to latest (#22855)
9 years ago
Matt Martz d34153a61e Re-enable ssh retry tests with isolation fixes (#22221)
9 years ago
Matt Clay 30b6ed8377 Disable failing tests until they can be fixed.
9 years ago
Matt Martz 1fe67f9f43 Extend SSH Retry to put_file and fetch_file (#20187)
9 years ago
Matt Clay a5e3d13adc Remove shebangs from unit tests.
9 years ago
Toshio Kuratomi d1a6b07fe1 Move ssh and local connection plugins from using raw select to selectors
9 years ago
Toshio Kuratomi ed00741a01 Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534)
10 years ago
Matt Clay ac8842eee8 Fix unit test dirs to match code under test.
10 years ago