Config
Default configuration file * /etc/ansible/ansible.cfg
Default Inventory file * Always look for local hosts file * /etc/ansible/hosts
Ansible has host key checking enabled by default. To disable hostkey chekcing, edit /etc/ansible/ansible.cfg
or ~/.ansible.cfg
[defaults]
host_key_checking = False
Alternatively this can be set by the ANSIBLE_HOST_KEY_CHECKING
environment variable:
$ export ANSIBLE_HOST_KEY_CHECKING=False