You can do a ssh-keyscan and generate the production servers and make it into a 
known_hosts file, this will remove all your tests servers and keep production 
in there. Something like:
    ssh-keyscan -t rsa -H "<servername>,<servername2>,<servername3>" > 
~/.ssh/known_hosts


Don't know if its what you want, but its an option.. ;p

Op vrijdag 27 februari 2015 21:31:26 UTC+1 schreef [email protected]:
>
> Is it possible to set ANSIBLE_HOST_KEY_CHECKING on a per host or host 
> group basis? This would help prevent my known_hosts file from becoming 
> cluttered with test boxes but still ensure when I talk to production hosts 
> I can verify their identity.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/71ee3548-bbdc-4644-aa02-d348a5bb730d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to