Files
it-ansible/playbooks/roles/authorized_keys/tasks/main.yaml
Julian Schacher de568ceacd Add role for deploying SSH authorized_keys and add it to maint. playb.
Having this role will enable us to easily manage SSH authorized_keys.
2024-02-07 20:44:46 +01:00

7 lines
184 B
YAML

- name: Deploy authorized keys for cit user
ansible.posix.authorized_key:
state: present
user: cit
exclusive: true
key: "{{ lookup('file', 'cit_authorized_keys') }}"