ansible playbook hangs on ssh host key prompt
This should have been a five minute change. Ansible 2.16.3 on a Mac, target is a fresh Debian 12 box. ansible all -m ping -i hosts.ini just sits there with no output and eventually times out. Running ssh -vvv root@target shows it stopping at Are you sure you want to continue connecting (yes/no)?. My ansible.cfg has host_key_checking = False but it doesn't seem to apply. Am I putting it in the wrong file?
4 replies