From b6c495defe6f9ea8ff77b7c928356496c26b6f52 Mon Sep 17 00:00:00 2001 From: Michael Vasseur Date: Sun, 29 Oct 2023 13:09:59 +0100 Subject: [PATCH] Make reuse easier for users by not giving us domjudge access --- .../ansible/roles/ssh/defaults/main.yml | 17 +++++++---------- .../roles/ssh/vars/maintainers.yml.example | 11 +++++++++++ 2 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 provision-contest/ansible/roles/ssh/vars/maintainers.yml.example diff --git a/provision-contest/ansible/roles/ssh/defaults/main.yml b/provision-contest/ansible/roles/ssh/defaults/main.yml index c54730df..81966e04 100644 --- a/provision-contest/ansible/roles/ssh/defaults/main.yml +++ b/provision-contest/ansible/roles/ssh/defaults/main.yml @@ -1,11 +1,8 @@ -github_ssh_user: - - meisterT - - nickygerritsen - - thijskh - - tuupke - - ubergeek42 - - vmcj +#github_ssh_user: +# - github_user +# +#ssh_public_keys: +# - "ssh-ed25519 AAAABCDEFGHIJKLMNOPQRSTUVWXYZBCDEFGHIJKLMNOPQRSTUVWXYZBCDEFGHIJKLMNO user@machine" -ssh_public_keys: - - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICd/P3Mu0X0hE9yc+k4cU/eT67S4F4E8Lmxk4yYDM8qL jaap@diamond" - - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrtJzsraIV4SFFkeu5HtxwRZKBOwn2dL/g1CJhaCwJs jaap@tiger" +github_ssh_user: [] +ssh_public_keys: [] diff --git a/provision-contest/ansible/roles/ssh/vars/maintainers.yml.example b/provision-contest/ansible/roles/ssh/vars/maintainers.yml.example new file mode 100644 index 00000000..c54730df --- /dev/null +++ b/provision-contest/ansible/roles/ssh/vars/maintainers.yml.example @@ -0,0 +1,11 @@ +github_ssh_user: + - meisterT + - nickygerritsen + - thijskh + - tuupke + - ubergeek42 + - vmcj + +ssh_public_keys: + - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICd/P3Mu0X0hE9yc+k4cU/eT67S4F4E8Lmxk4yYDM8qL jaap@diamond" + - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrtJzsraIV4SFFkeu5HtxwRZKBOwn2dL/g1CJhaCwJs jaap@tiger"