2021-09-09 15:18:11 -06:00
|
|
|
---
|
|
|
|
# file: roles/base/tasks/core_sudo.yml
|
|
|
|
|
2024-07-25 17:54:48 -06:00
|
|
|
- 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'
|