From f5199264f9617f4570a70a278280d52283fe91e9 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 12 Sep 2022 17:14:39 +0300 Subject: [PATCH] ansible.cfg: disable SSH host key checking --- ansible.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index 5a5f778..e896c12 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -6,6 +6,11 @@ inventory=hosts ask_vault_pass=True remote_user = provisioning interpreter_python=auto +# Don't warn on unknown SSH host keys because it's super annoying for new hosts +# or if you get a new laptop and run Ansible there! +# +# See: https://docs.ansible.com/ansible/latest/user_guide/connection_details.html#managing-host-key-checking +host_key_checking = False ansible_managed = This file is managed by Ansible.%n template: {file}