
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.
12 lines
180 B
YAML
12 lines
180 B
YAML
---
|
|
- name: Ensure Yum repos are configured
|
|
hosts: seed-hypervisor:seed:overcloud
|
|
tags:
|
|
- yum
|
|
roles:
|
|
- role: yum
|
|
|
|
- role: yum-cron
|
|
tags:
|
|
- yum-cron
|