vm-ansible/roles/common/tasks/user-ops.yaml

13 lines
292 B
YAML

---
- name: "Add service user"
ansible.builtin.user:
name: service-user
comment: Service user
shell: /bin/bash
- name: "Update authorized_keys of tormakris"
ansible.posix.authorized_key:
user: tormakris
state: present
key: https://static.tormakristof.eu/ssh.keys