diff options
Diffstat (limited to 'v-i.yml')
-rw-r--r-- | v-i.yml | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -53,5 +53,15 @@ src: /home/liw/data/v-i/unstable.tar.gz dest: /root/unstable.tar.gz + - name: "copy my ssh pub key" + copy: + src: /home/liw/.ssh/liw-openpgp.pub + dest: /root/liw-openpgp.pub + + - name: "add my ssh pub key to root's authorized keys" + authorized_key: + user: root + key: "{{ lookup('file', '/home/liw/.ssh/liw-openpgp.pub') }}" + vars: hostname: v-i |