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

11 lines
177 B
YAML

- name: install sudo
pacman: name=sudo state=present
- name: create sudoers
copy:
src: sudoers
dest: /etc/sudoers
mode: "0440"
owner: root
group: root