Created
March 12, 2013 03:26
-
-
Save Rudd-O/5140074 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks: | |
- name: obtain SSH key of the backup server | |
action: shell cat /root/.ssh/id_rsa.pub | |
delegate_to: $backupserver | |
register: ssh_key | |
- name: deploy SSH key of the backup server | |
action: authorized_key key='${ssh_key.stdout}' user=root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment