summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/vars/zuul.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vars/zuul.yml b/tests/vars/zuul.yml
index ca0454eea..aa2932fb8 100644
--- a/tests/vars/zuul.yml
+++ b/tests/vars/zuul.yml
@@ -10,4 +10,4 @@ nodepool_oraclelinux_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/oraclelinux
nodepool_percona_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/percona"
# NOTE(hrw): wheel cache goes over 80/443 not on 8080
-nodepool_wheel_mirror: "https://{{ zuul_site_mirror_fqdn }}/wheel/{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}-{{ ansible_architecture | lower }}"
+nodepool_wheel_mirror: "https://{{ zuul_site_mirror_fqdn }}/wheel/{{ ansible_distribution | lower }}-{{ (ansible_os_family == 'Debian') | ternary(ansible_distribution_version, ansible_distribution_major_version) }}-{{ ansible_architecture | lower }}"