Take over the world (#35)

pending
(Baptiste Grenier) #1

Take over the world (#35)

  • Manage ssh keys for remote access
diff --git a/community.egi.eu.yml b/community.egi.eu.yml
index c13c401..a7a4e07 100644
--- a/community.egi.eu.yml
+++ b/community.egi.eu.yml
@@ -3,6 +3,16 @@
 - hosts: forum
   name: harden ssh
   become: true
+  tasks:
+    - name: Configure remote access
+      authorized_key:
+        user: root
+        exclusive: false
+        key: "{{ item }}"
+      loop:
+        - 'https://github.com/gwarf.keys'
+        - 'https://github.com/enolfc.keys'
+        - 'https://github.com/brucellino.keys'
   roles:
     - {role: dev-sec.ssh-hardening, tags: ssh}
 
@@ -42,4 +52,4 @@
   tags:
     - discourse
   roles:
-    - { role: AAROC.discourse-sso, launch: 'False'}
+    - {role: AAROC.discourse-sso, launch: 'False'}

GitHub sha: dd477889