2021-01-29 00:08:39 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Deploy sudoers configuration files
|
|
|
|
template:
|
|
|
|
src: '{{ item.src }}.j2'
|
|
|
|
dest: '/etc/{{ item.src }}'
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: root
|
|
|
|
group: root
|
2021-01-29 00:08:39 +00:00
|
|
|
mode: '{{ item.mode }}'
|
|
|
|
with_items:
|
|
|
|
- { src: 'sudoers', mode: '0440' }
|
|
|
|
- { src: 'sudoers.lecture', mode: '0644' }
|
|
|
|
|