Skip to content
hakk
  • Home
  • Blog
  • Docs
  • DSA
  • Snippets

SSH

  • Ansible - Please add this host's fingerprint to your known_hosts file to manage this host 2023-12-15

    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:

Recent posts
  • Understanding the ss Command: A Modern Alternative to netstat
  • Understanding HTTP from Scratch with Python Sockets
  • When Environment Variables Mysteriously Reset...
  • How to Generate a 32-byte Key for AES Encryption
  • Streamlining Deployment: Installing Docker, Gitea, Gitea Act Runner, and Nginx on Ubuntu
© 2025 hakk
  • Home
  • Blog
  • Docs
  • DSA
  • Snippets