Add wheel to sudoers
This commit is contained in:
parent
6792c40aaa
commit
f40ba1a853
1 changed files with 8 additions and 0 deletions
|
@ -70,3 +70,11 @@
|
||||||
path: /etc/rc.conf
|
path: /etc/rc.conf
|
||||||
regexp: '^ifconfig_wlan0_ipv6=.*'
|
regexp: '^ifconfig_wlan0_ipv6=.*'
|
||||||
line: 'ifconfig_wlan0_ipv6="inet6 accept_rtadv"'
|
line: 'ifconfig_wlan0_ipv6="inet6 accept_rtadv"'
|
||||||
|
- name: Enable wheel group to use sudo
|
||||||
|
become: true
|
||||||
|
lineinfile:
|
||||||
|
path: /usr/local/etc/sudoers.d/wheel
|
||||||
|
regexp: 'wheel'
|
||||||
|
line: '%wheel ALL=(ALL) ALL'
|
||||||
|
create: yes
|
||||||
|
mode: '0644'
|
||||||
|
|
Loading…
Reference in a new issue