mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized role native-docker-volume-backup
This commit is contained in:
17
roles/native-sudo/tasks/main.yml
Normal file
17
roles/native-sudo/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- 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
|
Reference in New Issue
Block a user