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.
18 lines
525 B
YAML
18 lines
525 B
YAML
---
|
|
# Deploy/pull/reconfigure/upgrade inspection data store.
|
|
#
|
|
# Follows kolla-ansible service deployment patterns.
|
|
#
|
|
# Variables:
|
|
# action: One of deploy, destroy, pull, reconfigure, upgrade
|
|
|
|
- name: Ensure inspection store is deployed
|
|
hosts: controllers[0]
|
|
tags:
|
|
- inspection-store
|
|
roles:
|
|
- role: inspection-store
|
|
inspection_store_enabled: "{{ inspector_store_enabled }}"
|
|
inspection_store_port: "{{ inspector_store_port }}"
|
|
inspection_store_config_path: "{{ config_path }}/inspection-store"
|