Merge branch 'bug/permissions' into feature/molecule

This commit is contained in:
Dieter Verhelst 2018-09-03 21:13:53 +02:00
commit b9c18aa1fd

View File

@ -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 }}"