zuul-jobs/roles/configure-mirrors
Ian Wienand c20a2435a6 configure-mirrors: fix stripped newline
I74b9de7092f182c942a58ac7a46b9fbd791889de hit a common ansible gotcha
where it likes to strip the trailing newline after a {% endif %}.
This has resulted in invalid lines in our sources.list.

Unfortunately we miss this because it still exits with 0.  Add a
simple test looking for warning output.

Change-Id: I46d393a5e67d10a52c4dcca803176ff368a4b5bd
2022-03-01 11:10:30 +11:00
..
defaults Allow some configure-mirrors repositories to be disabled 2022-02-16 20:39:31 +00:00
handlers yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
tasks Allow some configure-mirrors repositories to be disabled 2022-02-16 20:39:31 +00:00
templates configure-mirrors: fix stripped newline 2022-03-01 11:10:30 +11:00
vars Add CentOS Stream 9 to configure-mirrors role 2022-01-27 15:05:46 +01:00
README.rst Allow some configure-mirrors repositories to be disabled 2022-02-16 20:39:31 +00:00

An ansible role to configure services to use mirrors.

Role Variables

URL to override the generated pypi mirror url based on :zuulconfigure-mirrors.pypi_fqdn.

-- zuul:rolevar:: configure_mirrors_extra_repos
default

True

Set to False to opt-out of installing extra repositories such as PowerTools and HighAvailability on centos-8-stream and backports for Debian/Ubuntu. The intent is to match the upstream distro state when this variable is set to False. Note that this role is not necessarily consistent with the repos that are enabled by default between distribution versions (centos stream 8 vs. 9 for example).