dotfiles/tasks/user.yml

27 lines
434 B
YAML
Raw Normal View History

2019-05-25 16:50:09 +01:00
- name: Make me
user:
2018-09-17 17:22:15 +01:00
name: "{{ user }}"
home: "{{ home }}"
2018-09-09 09:22:11 +01:00
comment: Jake Howard
shell: /usr/bin/zsh
2018-09-09 09:22:11 +01:00
system: true
groups:
2020-04-04 21:23:42 +01:00
- audio
- docker
- games
2018-09-09 09:22:11 +01:00
- input
2020-04-04 21:23:42 +01:00
- lp
- power
- scanner
- storage
- tty
2018-09-09 09:22:11 +01:00
- users
2020-04-04 21:23:42 +01:00
- uucp
2018-09-09 09:22:11 +01:00
- video
- wheel
2019-05-27 22:10:51 +01:00
- name: Give user sudo access
lineinfile:
path: /etc/sudoers
line: "{{ user }} ALL=(ALL) ALL"