Files
community.general/lib/ansible/module_utils
Will Thames 103ede26df Ensure ssh hostkey checks respect server port (#20840)
* Add tests for `get_fqdn_and_port` method.

Currently tests verify original behavior - returning default `ssh-keyscan` port
Add test around `add_host_key` to verify underlying command arguments
Add some new expectations for `get_fqdn_and_port`
Test that non-standard port is passed to `ssh-keyscan` command

* Ensure ssh hostkey checks respect server port

ssh-keyscan will default to getting the host key for port 22.
If the ssh service is running on a different port, ssh-keyscan
will need to know this.

Tidy up minor flake8 issues

* Update known_hosts tests for port being None

Ensure that git urls don't try and set port when a path
is specified

Update known_hosts tests to meet flake8

* Fix stdin swap context for test_known_hosts

Move test_known_hosts from under basic, as it is its own library.
Remove module_utils.known_hosts from pep8 legacy files list
2017-02-15 11:47:57 -08:00
..
2017-02-08 09:47:18 -05:00
2016-09-24 09:27:38 -04:00
2017-01-26 23:33:07 -05:00
2017-01-29 07:28:53 +00:00
2016-02-08 19:10:04 +01:00
2017-01-06 17:07:42 -05:00
2016-11-02 17:00:27 -07:00
2016-09-12 13:35:57 -04:00
2017-02-15 10:30:45 +00:00
2017-02-13 09:37:13 -05:00
2017-01-03 14:32:44 -06:00
2016-09-11 23:34:46 -04:00
2017-02-13 09:38:51 -05:00
2016-12-04 10:46:41 +00:00