vn-ansible/roles/debian-guest/tasks/sudoers.yml

12 lines
213 B
YAML
Raw Normal View History

2024-10-16 15:53:15 +00:00
- name: Install sudo package
apt:
name: sudo
state: present
- name: Add sysadmin to sudoers
template:
src: sudoers
dest: /etc/sudoers.d/vn
mode: u=rw,g=r,o=
owner: root
group: root