Skip to content

Commit c1f9db1

Browse files
committed
Default install all maintainers as users
1 parent c8edf60 commit c1f9db1

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
github_ssh_user:
2+
- eldering
3+
- meisterT
4+
- nickygerritsen
5+
- thijskh
6+
- tuupke
7+
- ubergeek42
8+
- vmcj

provision-contest/ansible/roles/ssh/tasks/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,17 @@
3939
loop:
4040
- domjudge
4141
- root
42+
43+
- name: Ensure authorized_keys for GitHub user accounts are present.
44+
authorized_key:
45+
user: domjudge
46+
key: "https://github.com/{{ item }}.keys"
47+
loop: "{{ github_ssh_user }}"
48+
when: not WF_RESTRICTED_NETWORK
49+
50+
- name: Ensure authorized_keys for GitHub user accounts are present.
51+
authorized_key:
52+
user: root
53+
key: "https://github.com/{{ item }}.keys"
54+
loop: "{{ github_ssh_user }}"
55+
when: not WF_RESTRICTED_NETWORK
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.yml

0 commit comments

Comments
 (0)