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
331 B
YAML
15 lines
331 B
YAML
---
|
|
# Deploy/pull/reconfigure/upgrade the Prometheus Node Exporter.
|
|
#
|
|
# Follows kolla-ansible service deployment patterns.
|
|
#
|
|
# Variables:
|
|
# action: One of deploy, destroy, pull, reconfigure, upgrade
|
|
|
|
- name: Ensure Node Exporter is deployed
|
|
hosts: overcloud:&docker
|
|
tags:
|
|
- node-exporter
|
|
roles:
|
|
- role: node-exporter
|