|
5 | 5 | action: "pull_image"
|
6 | 6 | common_options: "{{ docker_common_options }}"
|
7 | 7 | image: "{{ swift_rsyncd_image_full }}"
|
| 8 | + retries: "{{ service_images_pull_retries }}" |
| 9 | + delay: "{{ service_images_pull_delay }}" |
| 10 | + register: result |
| 11 | + until: result is success |
8 | 12 | when: inventory_hostname in groups['swift-account-server'] or
|
9 | 13 | inventory_hostname in groups['swift-container-server'] or
|
10 | 14 | inventory_hostname in groups['swift-object-server']
|
|
15 | 19 | action: "pull_image"
|
16 | 20 | common_options: "{{ docker_common_options }}"
|
17 | 21 | image: "{{ swift_proxy_server_image_full }}"
|
| 22 | + retries: "{{ service_images_pull_retries }}" |
| 23 | + delay: "{{ service_images_pull_delay }}" |
| 24 | + register: result |
| 25 | + until: result is success |
18 | 26 | when: inventory_hostname in groups['swift-proxy-server']
|
19 | 27 |
|
20 | 28 | - name: Pulling swift-account image
|
|
23 | 31 | action: "pull_image"
|
24 | 32 | common_options: "{{ docker_common_options }}"
|
25 | 33 | image: "{{ swift_account_image_full }}"
|
| 34 | + retries: "{{ service_images_pull_retries }}" |
| 35 | + delay: "{{ service_images_pull_delay }}" |
| 36 | + register: result |
| 37 | + until: result is success |
26 | 38 | when: inventory_hostname in groups['swift-account-server']
|
27 | 39 |
|
28 | 40 | - name: Pulling swift-container image
|
|
31 | 43 | action: "pull_image"
|
32 | 44 | common_options: "{{ docker_common_options }}"
|
33 | 45 | image: "{{ swift_container_image_full }}"
|
| 46 | + retries: "{{ service_images_pull_retries }}" |
| 47 | + delay: "{{ service_images_pull_delay }}" |
| 48 | + register: result |
| 49 | + until: result is success |
34 | 50 | when: inventory_hostname in groups['swift-container-server']
|
35 | 51 |
|
36 | 52 | - name: Pulling swift-object image
|
|
39 | 55 | action: "pull_image"
|
40 | 56 | common_options: "{{ docker_common_options }}"
|
41 | 57 | image: "{{ swift_object_image_full }}"
|
| 58 | + retries: "{{ service_images_pull_retries }}" |
| 59 | + delay: "{{ service_images_pull_delay }}" |
| 60 | + register: result |
| 61 | + until: result is success |
42 | 62 | when: inventory_hostname in groups['swift-object-server']
|
43 | 63 |
|
44 | 64 | - name: Pulling swift-object-expirer image
|
|
47 | 67 | action: "pull_image"
|
48 | 68 | common_options: "{{ docker_common_options }}"
|
49 | 69 | image: "{{ swift_object_expirer_image_full }}"
|
| 70 | + retries: "{{ service_images_pull_retries }}" |
| 71 | + delay: "{{ service_images_pull_delay }}" |
| 72 | + register: result |
| 73 | + until: result is success |
50 | 74 | when: inventory_hostname in groups['swift-object-server']
|
0 commit comments