5cd55bf236
Change-Id: I278609f9832955849bc9381120a1b260f5a03f1b Partially-implements: blueprint better-reconfigure
14 lines
286 B
YAML
14 lines
286 B
YAML
---
|
|
- set_fact:
|
|
master_host: "{{ groups['mariadb'][0] }}"
|
|
|
|
- include: lookup_cluster.yml
|
|
|
|
- include: bootstrap_cluster.yml
|
|
when:
|
|
- not has_cluster | bool
|
|
- inventory_hostname == groups['mariadb'][0]
|
|
|
|
- include: recover_cluster.yml
|
|
when: mariadb_recover | default(False)
|