Why not generate the keys on the box you're running Ansible from and then simply set them up on those three servers with http://docs.ansible.com/authorized_key_module.html ?
On Thursday, 8 January 2015 11:11:35 UTC+1, Mark Maas wrote: > > Just to clarify: > > I want to create keys on three servers, and then distribute those keys > amongst those same three servers. > These servers will be deleted and created every day, and I want the keys > to be new every day as well ;-) > > The public keys are there, they are available as variables, I just need a > way to reference all three of them for each server in turn. (I do not mind > that server "a" would receive it's own public key in authorized_keys as > well) > > Thanks, > Mark > > -- 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/3681c027-9893-4919-bd3a-c019ef5708fd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
