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

15 lines
242 B
YAML
Raw Permalink Normal View History

2021-01-29 00:08:39 +00:00
---
- name: Install sudo
apt:
name: sudo
- name: Configure sudoers
2021-01-29 00:08:39 +00:00
template:
src: "{{ item }}.j2"
dest: "/etc/{{ item }}"
mode: 0440
loop:
- sudoers.d/custom_passprompt
- sudoers.d/group_privilege
- sudoers