[P1] host_key_checking = False in ansible.cfg — MITM risk #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
ansible.cfghashost_key_checking = False. Any man-in-the-middle between your Ansible machine and OCI instances would be silently accepted — especially dangerous since vault secrets are deployed over these connections.Fix
Flip the setting:
Then populate
~/.ssh/known_hostsonce per host:File:
ansible.cfg