Merge branch 'bug/permissions' into feature/molecule
This commit is contained in:
commit
b9c18aa1fd
@ -9,6 +9,15 @@
|
||||
with_items: "{{ borgbackup_servers }}"
|
||||
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
|
||||
file:
|
||||
path: "{{ item.home}}{{ item.pool }}"
|
||||
|
Loading…
Reference in New Issue
Block a user