77bc616dc5
There is mirror_fqdn that, if defined, overrides mirrors used for packages and also mirrors for pypi. This is generally incorrect, if one wants to use different mirrors for packages vs pypi eggs. Add pypi_fqdn that defaults to mirror_fqdn, which allows users to go with a custom pypi_mirror. Make pypi trusting the given pypi_fqdn value instead of generally unrelated mirror_fqdn. Change-Id: I12975b57951699351cfc0d40beaeb7c703651dd0 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
26 lines
627 B
ReStructuredText
26 lines
627 B
ReStructuredText
An ansible role to configure services to use mirrors.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: mirror_fqdn
|
|
:default: {{ zuul_site_mirror_fqdn }}
|
|
|
|
The base host for mirror servers.
|
|
|
|
.. zuul:rolevar:: pypi_fqdn
|
|
:default: {{ mirror_fqdn }}
|
|
|
|
The base host for PyPi mirror server.
|
|
|
|
.. zuul:rolevar:: pypi_mirror
|
|
|
|
URL to override the generated pypi mirror url based on
|
|
:zuul:rolevar:`configure-mirrors.pypi_fqdn`.
|
|
|
|
.. zuul:rolevar:: set_apt_mirrors_trusted
|
|
:default: False
|
|
|
|
Set to True in order to tag APT mirrors as trusted, needed
|
|
when accessing unsigned mirrors with newer releases like
|
|
Ubuntu Bionic.
|