d8fe45b3d8
Having tagged plays allows us to easily run a subset of the plays for a command, and perform targeted operations with less risk of unintended consequences. The tags are typically named after the playbook, although some of the overcloud playbooks have been tagged without an overcloud- prefix.
15 lines
329 B
YAML
15 lines
329 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: controllers[0]
|
|
tags:
|
|
- docker-registry
|
|
roles:
|
|
- role: docker-registry
|