Add retries for get_url and package tasks

Occasionally we see connection issues in CI.

Change-Id: I93cc6793cf23fd21462cec6a4deb2ea35d36da21
This commit is contained in:
Mark Goddard 2023-04-18 15:59:09 +01:00
parent 2c2c8b9504
commit 0bb3edcabb
2 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,9 @@
url: "{{ vbmcd_python_upper_constraints_url }}"
dest: "{{ u_c_file.path }}"
mode: "0644"
register: result
until: result is success
retries: 3
# 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

View File

@ -25,6 +25,9 @@
- python3
- python3-pip
- python3-setuptools
register: result
until: result is success
retries: 3
- name: Create venv for tenks and upgrade pip
pip: