From e7d31aa59d7ce6d2e6dc35324f1c486b14863f9a Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 24 Jul 2024 10:27:20 +0530 Subject: [PATCH] Fix wheel_mirror for Debian The default wheel_mirror(including major.minor) no longer works for Debian, Fix it by using just major version like debian-11-x86_64. Similar was fixed in [1] but missed fixing configure-mirrors. [1] https://review.opendev.org/c/openstack/project-config/+/897545 Change-Id: I4194f18a06527d8af8922f3baf8766a7148e23fa --- roles/configure-mirrors/vars/Debian.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/configure-mirrors/vars/Debian.yaml b/roles/configure-mirrors/vars/Debian.yaml index 8b24e3331..a30846f9f 100644 --- a/roles/configure-mirrors/vars/Debian.yaml +++ b/roles/configure-mirrors/vars/Debian.yaml @@ -1,2 +1,3 @@ package_mirror: "{{ http_or_https }}://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}" security_mirror: "{{ http_or_https }}://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}-security" +wheel_mirror: "{{ http_or_https }}://{{ mirror_fqdn }}/wheel/{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}-{{ ansible_architecture | lower }}"