SyntaxFix
Write A Post
Hire A Developer
Questions
If you don't want to modify ansible.cfg or the playbook.yml then you can just set an environment variable:
ansible.cfg
playbook.yml
export ANSIBLE_HOST_KEY_CHECKING=False