Setting permissions on repository directory correct
This commit is contained in:
parent
4475c07bc2
commit
e396c028ec
@ -9,6 +9,15 @@
|
|||||||
with_items: "{{ borgbackup_servers }}"
|
with_items: "{{ borgbackup_servers }}"
|
||||||
when: item.type == 'normal'
|
when: item.type == 'normal'
|
||||||
|
|
||||||
|
- name: server | set permissions
|
||||||
|
file:
|
||||||
|
dest: "{{ item.home }}"
|
||||||
|
owner: "{{ item.user }}"
|
||||||
|
group: "{{ item.user }}"
|
||||||
|
delegate_to: "{{ item.fqdn }}"
|
||||||
|
with_items: "{{ borgbackup_servers }}"
|
||||||
|
when: item.type == 'normal'
|
||||||
|
|
||||||
- name: server | create directories
|
- name: server | create directories
|
||||||
file:
|
file:
|
||||||
path: "{{ item.home}}{{ item.pool }}"
|
path: "{{ item.home}}{{ item.pool }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user