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

12 lines
213 B
YAML

- 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