Prevent race condition with multiple delegates to a single server

This commit is contained in:
Dieter Verhelst 2019-03-12 12:54:59 +01:00
parent 4475c07bc2
commit 4e1dbd95df

View File

@ -7,6 +7,7 @@
createhome: "yes" createhome: "yes"
delegate_to: "{{ item.fqdn }}" delegate_to: "{{ item.fqdn }}"
with_items: "{{ borgbackup_servers }}" with_items: "{{ borgbackup_servers }}"
run_once: true
when: item.type == 'normal' when: item.type == 'normal'
- name: server | create directories - name: server | create directories