mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-24 04:54:00 -07: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:
parent
5d28d76277
commit
05dc76f3b2
3 changed files with 15 additions and 45 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue