mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 05:01:04 +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: insure group "sudo" exists
|
|
group:
|
|
name: sudo
|
|
state: present
|
|
|
|
- name: set /etc/sudoers
|
|
file:
|
|
path: /etc/sudoers
|
|
owner: root
|
|
group: root
|
|
mode: 0440
|