fix(roles): retry transient pip installs (#3812)

Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Mohammed NaserandCopilot authored and GitHub committed 2026-04-12 13:35:35 -07:00
1 parent 6c38217af8
commit cab1d561f1
3 files changed
+12

No files matched your search

@@ -0,0 +1,4 @@
---
fixes:
- The ``openstacksdk`` and ``PyMySQL`` pip installs now retry transient
download failures during deployment instead of failing immediately.
+4
View File
@@ -23,6 +23,10 @@
- name: Install MySQL python package
ansible.builtin.pip:
name: PyMySQL
register: _keycloak_pip_install
retries: 3
delay: 5
until: _keycloak_pip_install is not failed
- name: Check MySQL ready
run_once: true
+4
View File
@@ -16,6 +16,10 @@
ansible.builtin.pip:
name: openstacksdk
version: "{{ openstacksdk_version | default(omit) }}"
register: _openstacksdk_pip_install
retries: 3
delay: 5
until: _openstacksdk_pip_install is not failed
- name: Create openstack config directory
become: true