1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-08 06:16:07 +02:00

sudo: update regex for %wheel line

This commit is contained in:
Evangelos Foutras 2023-07-20 21:31:10 +03:00
parent 902704364f
commit 8480a4d216
No known key found for this signature in database
GPG Key ID: 51E8B148A9999C34

View File

@ -16,9 +16,9 @@
lineinfile:
dest: /etc/sudoers
state: present
regexp: '^%wheel ALL=\(ALL\) ALL'
insertafter: '^# %wheel ALL=\(ALL\) ALL'
line: '%wheel ALL=(ALL) ALL'
regexp: '^%wheel ALL=\(ALL:ALL\) ALL'
insertafter: '^# %wheel ALL=\(ALL:ALL\) ALL'
line: '%wheel ALL=(ALL:ALL) ALL'
validate: 'visudo -cf %s'
mode: '0440'
owner: root