1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/plugins
Abhijit Menon-Sen 72715c6add Fix ssh connections to IPv6 addresses
We can unconditionally wrap remote_addr in square brackets for scp and
sftp (both of which require them for IPv6 addresses), but not wrap them
at all for ssh (which doesn't accept them). This way, we don't have to
detect and treat IPv6 addresses specially. This works for hostnames,
IPv4 addresses, and IPv6 addresses.

The earlier code seemed to intend to wrap all IPv6 addresses in square
brackets, which would have broken ssh, but it actually made no attempt
to detect IPv6 addresses at all (so it broke only with IPv6 addresses
for scp and sftp).

Based on a review of PR #11677 by @JuiceBoxSingularity
2015-08-02 23:46:01 +05:30
..
action Make 'pause: prompt=…' print the prompt 2015-08-02 20:08:28 +05:30
cache adding display to plugins and start moving debug to display 2015-07-23 10:26:12 -04:00
callback brought up to date with default 2015-07-30 16:53:38 -04:00
connections Fix ssh connections to IPv6 addresses 2015-08-02 23:46:01 +05:30
filter Merge branch 'pluggable_jinja_tests' of https://github.com/quixoten/ansible into quixoten-pluggable_jinja_tests 2015-07-29 15:16:27 -04:00
inventory Older python-six from early RHEL and ubuntu do not have add_metaclass but do have with_metaclass 2015-06-03 13:29:24 -07:00
lookup Additional changes to fix fileglob relative path lookups 2015-07-27 16:35:57 -04:00
shell Fixes for WinRM/PowerShell support in v2. 2015-07-31 14:38:31 -04:00
strategies started implementing diff 2015-07-26 12:22:22 -04:00
test Merge branch 'pluggable_jinja_tests' of https://github.com/quixoten/ansible into quixoten-pluggable_jinja_tests 2015-07-29 15:16:27 -04:00
vars Making the switch to v2 2015-05-03 21:47:26 -05:00
__init__.py Merge branch 'pluggable_jinja_tests' of https://github.com/quixoten/ansible into quixoten-pluggable_jinja_tests 2015-07-29 15:16:27 -04:00