zuul-jobs/roles/configure-mirrors/vars/Suse.yaml
Dirk Mueller 294e9cbe1d Set wheels-mirror for openSUSE Tumbleweed
Unfortunately ansible_distribution is "openSUSE Tumbleweed" on
tumbleweed, and the whitespace in there is harmful. as there
isn't a version with tumbleweed, we can just replace
distribution/version with "opensuse-tumbleweed".

Change-Id: I21da4b5f851ec864dfb3cbf8ea6713bc12cda58f
2018-03-02 16:48:49 +01:00

8 lines
438 B
YAML

package_mirror: "http://{{ mirror_fqdn }}/opensuse"
wheels_slug: "{%- if ansible_distribution == 'openSUSE Tumbleweed' -%}
opensuse-tumbleweed-{{ ansible_architecture | lower }}
{%- else -%}
{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}-{{ ansible_architecture | lower }}
{%- endif -%}"
wheel_mirror: "http://{{ mirror_fqdn }}/wheel/{{ wheels_slug }}"