dotfiles/tasks/user.yml

25 lines
419 B
YAML

- name: Make me
user:
name: "{{ user }}"
home: "{{ home }}"
comment: Jake Howard
shell: /usr/bin/zsh
system: true
groups:
- audio
- games
- input
- lp
- power
- scanner
- storage
- tty
- users
- uucp
- video
- wheel
- name: Give user sudo access
lineinfile:
path: /etc/sudoers
line: "{{ user }} ALL=(ALL) ALL"