Merge "Retry remote fetch tasks"

This commit is contained in:
Jenkins 2017-06-21 15:26:22 +00:00 committed by Gerrit Code Review
commit 54e57e8b4b
3 changed files with 6 additions and 2 deletions

View File

@ -39,6 +39,8 @@
url: "{{ lxc_image_cache_server }}/{{ item.split(';')[-1] }}/meta.tar.xz"
dest: "/tmp/meta.tar.xz"
with_items: "{{ lxc_images }}"
retries: 5
delay: 2
- name: Place container metadata
unarchive:

View File

@ -23,6 +23,8 @@
url: "{{ lxc_image_cache_server }}/meta/1.0/index-system"
return_content: yes
register: image_index
retries: 5
delay: 2
- name: Set image index fact
set_fact:

View File

@ -133,8 +133,8 @@
dest: "/tmp/rootfs.tar.xz"
register: pull_image
until: pull_image | success
retries: 3
delay: 1
retries: 5
delay: 2
with_items: "{{ lxc_images }}"
- name: Place container rootfs