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

- include: mariadb_install.yml
- include: mariadb_cluster.yml

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

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

- meta: flush_handlers