summaryrefslogtreecommitdiff
path: root/v-i.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-08-19 14:39:21 +0300
committerLars Wirzenius <liw@liw.fi>2018-08-19 14:39:21 +0300
commit5d152e7bb3d9c762e263f764a407cf476c9f5459 (patch)
treebbaee9b6ea004520a2af54dcafca9ed2d96218e8 /v-i.yml
parentaf61845daca9759f5f8b679e09702d61a82ea24c (diff)
downloadv-i-5d152e7bb3d9c762e263f764a407cf476c9f5459.tar.gz
Change: x220.vmdb to work with current vmdb2
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