2021-01-29 00:08:39 +00:00
|
|
|
---
|
2022-06-27 14:33:42 +00:00
|
|
|
- name: Install sudo
|
|
|
|
apt:
|
|
|
|
name: sudo
|
|
|
|
|
2021-05-24 19:01:22 +00:00
|
|
|
- name: Configure sudoers
|
2021-01-29 00:08:39 +00:00
|
|
|
template:
|
2021-05-24 19:01:22 +00:00
|
|
|
src: "{{ item }}.j2"
|
|
|
|
dest: "/etc/{{ item }}"
|
|
|
|
mode: 0440
|
|
|
|
loop:
|
|
|
|
- sudoers.d/custom_passprompt
|
|
|
|
- sudoers.d/group_privilege
|
|
|
|
- sudoers
|