summaryrefslogtreecommitdiff
path: root/ansible/roles/holywood2/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/holywood2/tasks/main.yml')
-rw-r--r--ansible/roles/holywood2/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/roles/holywood2/tasks/main.yml b/ansible/roles/holywood2/tasks/main.yml
index 0562926..164cc67 100644
--- a/ansible/roles/holywood2/tasks/main.yml
+++ b/ansible/roles/holywood2/tasks/main.yml
@@ -1,3 +1,19 @@
+- name: install root SSH config into /home/root/.ssh
+ copy:
+ src: ssh-config
+ dest: /home/root/.ssh/config
+
+- name: install root SSH authorized keys into /home/root/.ssh
+ copy:
+ src: ssh-config
+ dest: /home/root/.ssh/config
+
+- name: symlink /root/.ssh to /home/root/.ssh
+ file:
+ state: link
+ src: /home/root/.ssh
+ path: /root/.ssh
+
- name: create soile group
group:
name: soile