computer-playbook/roles/native-sudo/tasks/main.yml

18 lines
304 B
YAML
Raw Normal View History

- name: install sudo
pacman: name=sudo state=present
- name: create sudoers
template: src=sudoers dest=/etc/sudoers
- name: insure group "sudo" exists
group:
name: sudo
state: present
- name: set /etc/sudoers
file:
path: /etc/sudoers
owner: root
group: root
mode: 0440