Forgot to add borg_backup
This commit is contained in:
parent
b29205618e
commit
ddb463072c
@ -1,23 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Install sudo
|
- name: Install borgbackup
|
||||||
pacman:
|
pacman:
|
||||||
name: sudo
|
name: borg
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Configure sudoers
|
|
||||||
template:
|
|
||||||
src: files/sudoers
|
|
||||||
dest: /etc/sudoers
|
|
||||||
mode: 0440
|
|
||||||
|
|
||||||
- name: Create sudo group
|
|
||||||
group:
|
|
||||||
name: sudo
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Add local user to sudo group
|
|
||||||
user:
|
|
||||||
name: "{{ item.username }}"
|
|
||||||
groups: sudo
|
|
||||||
append: yes
|
|
||||||
with_items: '{{ deploy_users }}'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user