configs/roles/common/tasks/users.yml

20 lines
449 B
YAML

---
- name: Sudo group
group:
name: sudo
state: present
- name: Configure user earne
user:
name: earne
comment: earnest ma
shell: /usr/bin/zsh
groups: earne,mock,wheel
- authorized_key:
user: earne
state: present
key: |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIClkhr7Rc2qbSEQ+MkEsD/147gb0pShJt+odxis76WRe main
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPcKxz8Risfe13F+LxnUD5V1kApoxDtU7dO901SJiP6J backupk