zuul-jobs/roles/configure-mirrors/defaults/main.yaml
Ian Wienand f76cfbab11 linters: fix spaces between filters
This fixes a number of places where we do not have spaces between
filters.  I think that this is a reasonable rule for readability (I
also think it probably was enforced, but maybe later versions got
better at detecting it?).

These are detected by a later version of Ansible lint; this change
should have no operational change to any roles but prepares us to
update in a follow-on change.

Change-Id: I07e1a109b87adce86f483d14d7e02fcecb8313d5
2022-07-27 17:13:39 +10:00

15 lines
593 B
YAML

set_apt_mirrors_trusted: False
mirror_fqdn: "{{ zuul_site_mirror_fqdn | default(omit) }}"
pypi_fqdn: "{{ mirror_fqdn }}"
mirror_use_ssl: False
http_or_https: >-
{%- if mirror_use_ssl and ansible_distribution_release not in ['xenial', 'stretch'] -%}
https
{%- else -%}
http
{%- endif -%}
pypi_mirror: "{{ http_or_https }}://{{ pypi_fqdn }}/pypi/simple"
wheel_mirror: "{{ http_or_https }}://{{ mirror_fqdn }}/wheel/{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}-{{ ansible_architecture | lower }}"
enable_deb_src_repos: False
configure_mirrors_extra_repos: True