Allow rsync retries
This commit is contained in:
parent
ac11f3e4f3
commit
0a9d3e65fe
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
- name: Copy Compose files
|
- name: Copy Compose files
|
||||||
become: false
|
become: false
|
||||||
|
retries: 2
|
||||||
|
until: 'compose_files.rc == 0'
|
||||||
ansible.posix.synchronize:
|
ansible.posix.synchronize:
|
||||||
src: "{{ service_base }}/{{ service | mandatory }}/"
|
src: "{{ service_base }}/{{ service | mandatory }}/"
|
||||||
dest: "{{ service_dir | mandatory }}"
|
dest: "{{ service_dir | mandatory }}"
|
||||||
|
@ -43,6 +43,8 @@
|
|||||||
|
|
||||||
- name: Copy Compose files
|
- name: Copy Compose files
|
||||||
become: false
|
become: false
|
||||||
|
retries: 2
|
||||||
|
until: 'compose_files.rc == 0'
|
||||||
ansible.posix.synchronize:
|
ansible.posix.synchronize:
|
||||||
src: "{{ temp_file.path | mandatory }}/"
|
src: "{{ temp_file.path | mandatory }}/"
|
||||||
dest: "{{ service_dir | mandatory }}"
|
dest: "{{ service_dir | mandatory }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user