aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/mariadb/tasks/bootstrap.yml
blob: 6647cb598c48d45a04bb2864761718e601c3cc30 (plain)
1
2
3
4
5
6
7
8
9
10
---
- 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)