One minute
Ansible: Generating a SSH pub key file and uploading to other host to sync files from there
Update
Check the comments for new workflows.
Original from 19/May/2014… updated!
I found this workflow for our systems:
- Up the new box.
- Generate keys in that new box.
- “Fetch” the pub key from the new server to the ansible server.
- Copy that key to authorized_keys file of the other server (from ansible server).
- Execute a rsync from the new server without asking key to the other server.
My trick is:
It is working perfectly but i would like to know if another way is possible.
Thanks…
Update 06/Dec/2014:
Same workflow, new lines (optimized?):
Similar but not equal :)
98 Words
Dec, 2014