Good to know, but not quite what I'm looking for.

On Sunday, March 1, 2015 at 9:14:43 AM UTC-5, Erik-jan Riemers wrote:
>
> 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/692ece57-9bb8-4f10-a9eb-4529cb3dcbf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to