Allow rsync retries
This commit is contained in:
@@ -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 }}"
|
||||||
|
Reference in New Issue
Block a user