mirror of https://github.com/ansible/ansible.git
Properly parse urls for ssh-keyscan use
Previously, the get_fqdn() function in known_hosts.py only worked with urls that started with git@, and ignored any urls that started with a normal schema type (ie. http:// or ssh://). This patch corrects that by using urlparse to parse the hostname portion out of urls that have a proper schema. Fixes #7474pull/7167/merge
parent
ac349dce96
commit
3fb3e7e6dc
Loading…
Reference in New Issue