workstation/roles/netbsd/tasks/sudo.yml

10 lines
213 B
YAML
Raw Normal View History

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