workstation/roles/netbsd/tasks/sudo.yml

9 lines
213 B
YAML

---
- name: Enable wheel group to use sudo
become: true
ansible.builtin.lineinfile:
path: /usr/pkg/etc/sudoers.d/wheel
regexp: 'wheel'
line: '%wheel ALL=(ALL) ALL'
create: yes
mode: '0644'