mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-13 00:11:05 +01:00
18 lines
304 B
YAML
18 lines
304 B
YAML
- name: install sudo
|
|
pacman: name=sudo state=present
|
|
|
|
- name: create sudoers
|
|
template: src=sudoers dest=/etc/sudoers
|
|
|
|
- name: ensure group "sudo" exists
|
|
group:
|
|
name: sudo
|
|
state: present
|
|
|
|
- name: set /etc/sudoers
|
|
file:
|
|
path: /etc/sudoers
|
|
owner: root
|
|
group: root
|
|
mode: 0440
|