do you mean your ssh key?
http://docs.ansible.com/ansible/latest/authorized_key_module.html you could do something like ansible all -m authorizied_key -a "user=mark key=`cat ~/.ssh/id_xor.pub`" On Wednesday, August 30, 2017 at 9:40:02 AM UTC-7, mark funcion wrote: > > Hi guys/gals, > > Any way I can do ssh-copy on multiple hosts via Ansible ad-hoc? I have > already added around 50 new hosts in the ansible_hosts inventory file but > hit a wall in copying ssh to those new hosts. > -- 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/f7eb4d9b-ac02-46eb-a731-8e2ca031864d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
