mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
In the git module let ssh do its own host checking
There are too many possible special cases for Ansible to be able to precheck known_hosts files without introducing all kinds of false failures. * Alternative known_hosts paths * Alternative host name aliases * ssh host certificates * SSHFP + DNSSEC Fixes #24860
This commit is contained in:
committed by
Toshio Kuratomi
parent
5d28d76277
commit
05dc76f3b2
@@ -16,7 +16,6 @@
|
||||
- assert:
|
||||
that:
|
||||
- 'git_result.failed'
|
||||
- 'git_result.msg == "github.com has an unknown hostkey. Set accept_hostkey to True or manually add the hostkey prior to running the git module"'
|
||||
|
||||
- name: checkout git@github.com repo with accept_hostkey (expected pass)
|
||||
git:
|
||||
|
||||
Reference in New Issue
Block a user