hakk

software development, devops, and other drivel
Tree lined path

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 host you’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.cfg or create an ansible.cfg file in the project directory and add the following lines to it: Read more...