vn-ansible/roles/linux-sudoers/tasks/main.yaml

12 lines
209 B
YAML
Raw Normal View History

2024-09-23 14:32:28 +00:00
- name: Install sudo package
apt:
name: sudo
state: present
2024-09-23 12:30:38 +00:00
- name: Copy sudoers configuration file
copy:
src: vn
dest: "/etc/sudoers.d/"
mode: u=rw,g=r
owner: root
group: root