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 - name: Make sure we have a 'wheel' group
group: group:
name: wheel name: wheel
state=present state: present
- name: Allow 'wheel' group to have passwordless sudo - name: Allow 'wheel' group to have passwordless sudo
lineinfile: lineinfile:
dest=/etc/sudoers dest: /etc/sudoers
state: present state: present
regexp='^%wheel' regexp: '^%wheel'
line: '%wheel ALL=(ALL) NOPASSWD: ALL' line: '%wheel ALL=(ALL) NOPASSWD: ALL'
- name: Add the user tobi - name: Add the user tobi