Optimized role native-docker-volume-backup

This commit is contained in:
2020-12-24 18:34:48 +01:00
parent 768a2f1d38
commit 1556af31ee
5 changed files with 117 additions and 1 deletions

View 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