ce49ae7c80
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
16 lines
382 B
YAML
16 lines
382 B
YAML
---
|
|
# Deploy/pull/reconfigure/upgrade Docker registry.
|
|
#
|
|
# Follows kolla-ansible service deployment patterns.
|
|
#
|
|
# Variables:
|
|
# action: One of deploy, destroy, pull, reconfigure, upgrade
|
|
|
|
- name: Ensure a local Docker registry is deployed
|
|
hosts: docker-registry
|
|
tags:
|
|
- docker-registry
|
|
roles:
|
|
- role: docker-registry
|
|
docker_registry_action: "{{ kayobe_action }}"
|