This repository has been archived on 2025-04-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
common-ansible/tasks/sudoers.yml
2022-01-01 20:50:15 +01:00

19 lines
370 B
YAML

# see /etc/sudoers.d/README for more info
- name: ensure sudoers directory is present
become: true
file:
path: '/etc/sudoers.d'
state: directory
owner: root
group: root
mode: '0755'
- name: copy extra sudoers file
become: true
template:
src: '{{ item.src }}'
dest: '{{ item.dest }}'
owner: root
group: root
mode: '0440'