Getting Error while running playbook

Hi All,

I am getting error while running the ansible playbook by using ssh command error is like host key verification failed.

Looking forward ro reply.

Thanks & Regards
Sumit Sahay
7044112109

try adding this to your ansible.cfg
host_key_checking=False

HOST_KEY_CHECKING:
default: true
description: Set this to “False” if you want to avoid host key checking by the underlying
tools Ansible uses to connect to the host
env:

  • {name: ANSIBLE_HOST_KEY_CHECKING}
    ini:
  • {key: host_key_checking, section: defaults}
    name: Check host keys
    type: boolean