80510/how-to-ignore-ansible-ssh-authenticity-checking
Hi Guys,
I am new in Ansible. Whenever I try to run any playbook in my remote system it is failing because of SSH authentication. Can anyone tell me how can I avoid this?
Hi@akhtar,
To avoid this you need to set an environment variable host_key_checking to False in ansible.cfg file. To do that, make an ansible.cfg file inside /etc folder and include these below lines.
[defaults] host_key_checking = False
Usually, if even one command fails to ...READ MORE
Why ansible in particular? You can use ...READ MORE
Do have access to all 1000 machines? ...READ MORE