blob: 1a04a3d37763594ba99414d4ee54de9def43b499 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
---
- name: install sudo
openbsd_pkg:
name: sudo--
state: present
- name: allow wheel group to use sudo
lineinfile:
regexp: '^#?\s*%wheel(\s+)ALL=\(ALL\) SETENV: ALL$'
line: '%wheel\1ALL=(ALL) SETENV: ALL'
backrefs: yes
dest: /etc/sudoers
|