Configure wheel sudoer group on Archlinux

This commit is contained in:
Jan Beilicke 2020-12-15 23:17:45 +01:00
parent 36695dc7e8
commit 867f9283e4

View file

@ -21,7 +21,8 @@
regexp: '^%wheel'
line: '%wheel ALL=(ALL) NOPASSWD:ALL'
validate: visudo -cf %s
when: ansible_facts['os_family'] == 'Debian'
when:
- ansible_facts['os_family'] in ['Debian', 'Archlinux']
- name: 'Create users with corresponding groups'
user: