SSH
- Ansible - Please add this host's fingerprint to your known_hosts file to manage this host
If you’ve ever tried to run an ansible playbook and recieved
Please add this host's fingerprint to your known_hosts file to manage this hostyou’re not alone. Here’s a couple of ways to fix it.Turn off host key checking
This would not be the preferred method but turning off host key checking will enable ansible to continue on with the playbook.
Either modify the
/etc/ansible/ansible.cfgor create anansible.cfgfile in the project directory and add the following lines to it: