Desktop setup

This commit is contained in:
Jonathan Cremin 2020-04-29 21:51:12 +01:00
commit a7eaa7dbfb
14 changed files with 325 additions and 0 deletions

View file

@ -0,0 +1,20 @@
---
- name: Add user jonathan
user:
name: jonathan
comment: Jonathan Cremin
uid: 1000
groups: jonathan,adm,cdrom,sudo,dip,plugdev,lpadmin,lxd,sambashare
shell: /bin/zsh
append: yes
become: yes
- name: Passwordless sudo for jonathan
lineinfile:
path: /etc/sudoers
state: present
regexp: '^%sudo'
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
validate: /usr/sbin/visudo -cf %s
become: yes