Can I bypass host key checking in Ansible?
This is typically done by setting the following value in ansible.cfg:

[defaults]
host_key_checking = False


If you don't want to modify ansible.cfg you can set an environment variable like so:

export ANSIBLE_HOST_KEY_CHECKING=False


Source: http://docs.ansible.com/ansible/intro_getting_started.html#host-key-checking