Allow to configure where to deploy a Docker Registry

This commit changes the docker-registry playbook to deploy a Docker
Registry on hosts in the docker-registry group, rather than being
harcoded to deploy on the first controller.

The default location is changed to deploy on the seed as it appears to
be a good location for most deployments.

UpgradeImpact: The Docker Registry is now deployed on the seed by
default.

Change-Id: I87d02bd9556afb795c8783ed78e797fdd31fe8ca
Story: 2004820
Task: 28986
This commit is contained in:
Pierre Riteau
2019-01-29 15:44:21 +00:00
parent 837284f08b
commit ce49ae7c80
5 changed files with 31 additions and 1 deletions

View File

@@ -53,6 +53,12 @@ monitoring
storage
compute
[docker-registry:children]
# Hosts in this group will have a Docker Registry deployed. This group should
# generally contain only a single host, to avoid deploying multiple independent
# registries which may become unsynchronized.
seed
###############################################################################
# Baremetal compute node groups.