summaryrefslogtreecommitdiff
path: root/v-i.yml
diff options
context:
space:
mode:
Diffstat (limited to 'v-i.yml')
-rw-r--r--v-i.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/v-i.yml b/v-i.yml
index 89fa7d2..6eea07f 100644
--- a/v-i.yml
+++ b/v-i.yml
@@ -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