ansible: Use builtin config to control host key checking

This commit is contained in:
Alex Willmer 2020-05-12 23:11:09 +01:00
parent e7a06ff207
commit f491dda625
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@
any_errors_fatal = true
transport = ssh
deprecation_warnings = false
host_key_checking = false
[ssh_connection]
ssh_args = -o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
ssh_args =
-o ForwardAgent=yes
-o UserKnownHostsFile=/dev/null