templier-ansible/roles/sudo/tasks/main.yml

15 lines
242 B
YAML

---
- name: Install sudo
apt:
name: sudo
- name: Configure sudoers
template:
src: "{{ item }}.j2"
dest: "/etc/{{ item }}"
mode: 0440
loop:
- sudoers.d/custom_passprompt
- sudoers.d/group_privilege
- sudoers