Re: [ansible-project] Different SSH keys for each host.

2015-01-21 Thread Dan Vaida
I don't believe it's possible to have that per host, via Ansible. But you could set it up in your ssh config. There were a few other threads in this mailing list about this topic. One would be: https://groups.google.com/d/msg/ansible-project/8p3XWlo83ho/Q1SflaZ9dyAJ On Wednesday, 21 January

Re: [ansible-project] Different SSH keys for each host.

2015-01-21 Thread junkmailtrapenator
Also is there a way to do the same thing with host_key_checking? I'd like to turn that off but only for a certain set of hosts (eg. dev hosts generated on the fly). On Tuesday, January 20, 2015 at 4:38:41 PM UTC-5, Matt Martz wrote: Via inventory you can set 'ansible_ssh_private_key_file' per

[ansible-project] Different SSH keys for each host.

2015-01-20 Thread junkmailtrapenator
I know it's possible to add *--private-key=path/to/key *to specify which ssh key you would like Ansible to use. However that assumes that each host requires the same key. Is it possible to specify that setting per host, perhaps in the inventory file or something? -- You received this message

Re: [ansible-project] Different SSH keys for each host.

2015-01-20 Thread Matt Martz
Via inventory you can set 'ansible_ssh_private_key_file' per host. See http://docs.ansible.com/intro_inventory.html#list-of-behavioral-inventory-parameters On Tue, Jan 20, 2015 at 3:36 PM, junkmailtrapena...@gmail.com wrote: I know it's possible to add *--private-key=path/to/key *to specify

Re: [ansible-project] Different SSH keys for each host.

2015-01-20 Thread Brian Coca
set this as a host or group var: ansible_ssh_private_key_file -- Brian Coca -- 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