This commit is contained in:
2021-10-18 14:30:45 +02:00
parent 01fdf3634f
commit 7699858c1f

View File

@@ -20,13 +20,13 @@
- name: Make sure we have a 'wheel' group
group:
name: wheel
state=present
state: present
- name: Allow 'wheel' group to have passwordless sudo
lineinfile:
dest=/etc/sudoers
dest: /etc/sudoers
state: present
regexp='^%wheel'
regexp: '^%wheel'
line: '%wheel ALL=(ALL) NOPASSWD: ALL'
- name: Add the user tobi