How to ignore below ansible SSH authentication checking for ansible playbooks?
Are you sure you want to continue connecting (yes/no)?
I tried below 3 options but it doesn't work.
ansible-playbook play.yml --ssh-common-args='-o StrictHostKeyChecking=no'
Env variable:
export ANSIBLE_HOST_KEY_CHECKING=False
ansible.cfg file: host_key_checking = False