Add a role for deploying infrastructure authorized keys and use it

This commit is contained in:
June 2023-11-11 00:23:20 +01:00 committed by julian
commit bb95923807
5 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# Role `infrastructure_authorized_keys`
A role for deploying the infrastructure authorized keys from [this repo](https://gitlab.hamburg.ccc.de/ccchh/infrastructure-authorized-keys).

View file

@ -0,0 +1,7 @@
- name: deploy infrastructure authorized keys
ansible.posix.authorized_key:
state: present
user: chaos
exclusive: true
key: https://gitlab.hamburg.ccc.de/ccchh/infrastructure-authorized-keys/-/raw/trunk/authorized_keys?ref_type=heads&inline=false