kolla/ansible/roles/mariadb/tasks/bootstrap.yml
SamYaple 2aaaed770e MariaDB lights out recovery
This playbook only matters for multinode since AIO can recover from
power outage without additional configuration.

DocImpact
Implements: blueprint mariadb-lights-out
Change-Id: I903c3bcd069af39814bcabcef37684b1f043391f
2016-03-16 15:53:44 +00:00

11 lines
228 B
YAML

---
- include: lookup_cluster.yml
- include: bootstrap_cluster.yml
when:
- delegate_host == 'None'
- inventory_hostname == groups['mariadb'][0]
- include: recover_cluster.yml
when: mariadb_recover | default(False)