90fc18f621
So that the docker mirror configuration can be used without the install-docker role (e.g., if another process is used to install docker on a target host), split the part of the role which configures mirrors into its own role and include it in the install-docker role. Change-Id: I7cd7f61e2d1281cd2949c1f69a081c7217d0d328
21 lines
557 B
ReStructuredText
21 lines
557 B
ReStructuredText
Configure docker to use mirrors if available.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: mirror_fqdn
|
|
:default: {{ zuul_site_mirror_fqdn }}
|
|
|
|
The base host for mirror servers.
|
|
|
|
.. zuul:rolevar:: docker_mirror
|
|
|
|
URL to override the generated docker hub mirror url based on
|
|
:zuul:rolevar:`install-docker.mirror_fqdn`.
|
|
|
|
.. zuul:rolevar:: docker_insecure_registries
|
|
:default: undefined
|
|
|
|
Declare this with a list of insecure registries to define the
|
|
registries which are allowed to communicate with HTTP only or
|
|
HTTPS with no valid certificate.
|