kolla-ansible/ansible/mariadb_recovery.yml
Mark Goddard fca91fe83e Factor out OpenStack release detection playbook
We copy-paste the same play into various playbooks to detect
openstack_release. This change factors that code into a separate
playbook that is imported.

Change-Id: I5fea005642b960080bf5e43455618dc24766c386
2018-11-29 15:49:41 +00:00

14 lines
253 B
YAML

---
- import_playbook: detect-release.yml
vars:
detect_release_hosts: mariadb
- name: Recover mariadb
hosts: mariadb
roles:
- { role: mariadb,
tags: mariadb,
when: enable_mariadb | bool }
vars:
mariadb_recover: true