Add wheel to sudoers

This commit is contained in:
Anthony Rose 2019-11-05 15:23:56 +00:00
parent 6792c40aaa
commit f40ba1a853

View file

@ -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'