Q:

Ansible and the RSA validation prompt

I'm using Ansible to build my cloud infrastructure.  I don't mind verifying "yes" when I'm prompted to do so to verify the RSA key fingerprint. 
However, this becomes counter productive if I'm trying to spin up and configure 50+ machines at a time.  Is there a way to disable to using Ansible...or to at least just answer it once?

A:

As David mentioned you can use ansible.cfg to skip checking with host_key_checking = False, but if you're paranoid you might prefer using the ansible sshknownhosts module to accept the keys the first time, or whenever your keys change (eg. when destroying and rebuilding a staging environment).

