ansible/roles/shell/tasks/users/loki.yml

16 lines
345 B
YAML

---
- name: Setting up loki
user:
name: loki
groups: tilde
state: present
skeleton: /etc/skel
shell: /bin/bash
system: no
createhome: yes
home: /home/loki
- authorized_key:
user: loki
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAWvYEp+qRqS4FWPqGS1br2TJ+VcpBUIV5bZKWDV9m2g loki@debian"