Configure wheel sudoer group on Archlinux
This commit is contained in:
parent
36695dc7e8
commit
867f9283e4
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@
|
||||||
regexp: '^%wheel'
|
regexp: '^%wheel'
|
||||||
line: '%wheel ALL=(ALL) NOPASSWD:ALL'
|
line: '%wheel ALL=(ALL) NOPASSWD:ALL'
|
||||||
validate: visudo -cf %s
|
validate: visudo -cf %s
|
||||||
when: ansible_facts['os_family'] == 'Debian'
|
when:
|
||||||
|
- ansible_facts['os_family'] in ['Debian', 'Archlinux']
|
||||||
|
|
||||||
- name: 'Create users with corresponding groups'
|
- name: 'Create users with corresponding groups'
|
||||||
user:
|
user:
|
||||||
|
|
Loading…
Add table
Reference in a new issue