Commit 15cbe2f0 authored by Stefan Metzmacher's avatar Stefan Metzmacher
Browse files

gitlab-ci/osu-osl-samba_team.yml also setup ssh keys for root

parent 5a7008ac
......@@ -52,6 +52,15 @@
key: "{{ item }}"
loop: "{{ samba_team_authorized_keys }}"
- name: show authorized keys user root
command: cat /root/.ssh/authorized_keys
- name: show authorized keys user ubuntu
command: cat /home/ubuntu/.ssh/authorized_keys
- name: sync authorized keys user to ubuntu to root
command: sh -c "cat /home/ubuntu/.ssh/authorized_keys > /root/.ssh/authorized_keys"
- name: remove ephemeral SSH key from OSU OSL cloud
hosts: localhost
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment