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

14 lines
296 B
YAML
Raw Normal View History

2022-02-05 21:00:03 +01:00
---
- name: "Add service user"
ansible.builtin.user:
name: service-user
comment: Service user
2022-04-13 19:28:54 +02:00
shell: /bin/bash
2022-02-05 21:00:03 +01:00
- name: "Update authorized_keys of tormakris"
ansible.posix.authorized_key:
user: tormakris
state: present
key: https://static.tormakristof.eu/ssh.keys
2022-04-16 19:55:29 +02:00
...