workstation/roles/freebsd/tasks/sudo.yml

9 lines
199 B
YAML

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