summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/tasks/main.yml
blob: 20b6fe4b3f8a11ca304f413a66daea6798437996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- include_vars: "{{ ansible_os_family }}.yml"

- include: mariadb_install.yml
- include: mariadb_cluster.yml
  when: '{{ haproxy_hosts|length }} > 1'

- include: mariadb_config.yml
  when:
    - inventory_hostname == haproxy_hosts.keys()[0]

- include: mongodb.yml