use ssh keys

This commit is contained in:
2022-02-05 21:00:03 +01:00
parent 525db9dfd8
commit ae7eb2bd40
4 changed files with 19 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
---
- name: "Add service user"
ansible.builtin.user:
name: service-user
comment: Service user
- name: "Update authorized_keys of tormakris"
ansible.posix.authorized_key:
user: tormakris
state: present
key: https://static.tormakristof.eu/ssh.keys