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.
9 lines
242 B
YAML
9 lines
242 B
YAML
---
|
|
- name: Disable SELinux and reboot if required
|
|
hosts: seed:overcloud
|
|
tags:
|
|
- disable-selinux
|
|
roles:
|
|
- role: disable-selinux
|
|
disable_selinux_reboot_timeout: "{{ 600 if ansible_virtualization_role == 'host' else 300 }}"
|