fff
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user