diff --git a/ansible/roles/virtualbmc-daemon/tasks/main.yml b/ansible/roles/virtualbmc-daemon/tasks/main.yml index 0a42702..0ec92d2 100644 --- a/ansible/roles/virtualbmc-daemon/tasks/main.yml +++ b/ansible/roles/virtualbmc-daemon/tasks/main.yml @@ -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 diff --git a/playbooks/tenks-deploy-teardown/pre.yml b/playbooks/tenks-deploy-teardown/pre.yml index 7fcbfad..ac882ef 100644 --- a/playbooks/tenks-deploy-teardown/pre.yml +++ b/playbooks/tenks-deploy-teardown/pre.yml @@ -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: