Add retries for get_url and package tasks
Occasionally we see connection issues in CI. Change-Id: I93cc6793cf23fd21462cec6a4deb2ea35d36da21
This commit is contained in:
parent
2c2c8b9504
commit
0bb3edcabb
@ -37,6 +37,9 @@
|
|||||||
url: "{{ vbmcd_python_upper_constraints_url }}"
|
url: "{{ vbmcd_python_upper_constraints_url }}"
|
||||||
dest: "{{ u_c_file.path }}"
|
dest: "{{ u_c_file.path }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
register: result
|
||||||
|
until: result is success
|
||||||
|
retries: 3
|
||||||
|
|
||||||
# NOTE(yoctozepto): It is preferable to use the libvirt python binding that
|
# NOTE(yoctozepto): It is preferable to use the libvirt python binding that
|
||||||
# is delivered with the distribution as it is guaranteed to work with the
|
# is delivered with the distribution as it is guaranteed to work with the
|
||||||
|
@ -25,6 +25,9 @@
|
|||||||
- python3
|
- python3
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
|
register: result
|
||||||
|
until: result is success
|
||||||
|
retries: 3
|
||||||
|
|
||||||
- name: Create venv for tenks and upgrade pip
|
- name: Create venv for tenks and upgrade pip
|
||||||
pip:
|
pip:
|
||||||
|
Loading…
Reference in New Issue
Block a user