18 lines
370 B
YAML
18 lines
370 B
YAML
---
|
|
# file: roles/base/tasks/core_sudo.yml
|
|
|
|
- name: Configure passwordless for wheel group
|
|
template:
|
|
src: "%wheel.j2"
|
|
dest: "/etc/sudoers.d/%wheel"
|
|
owner: root
|
|
group: root
|
|
mode: '0440'
|
|
|
|
- name: Configure passwordless for sudo group
|
|
template:
|
|
src: "%sudo.j2"
|
|
dest: "/etc/sudoers.d/%sudo"
|
|
owner: root
|
|
group: root
|
|
mode: '0440'
|