2015-07-12 16:50:23 +07:00
|
|
|
---
|
|
|
|
|
2019-04-16 18:55:38 +07:00
|
|
|
- name: INCLUDE | Setup Percona repository
|
|
|
|
import_tasks: 'percona/apt.yml'
|
2018-03-17 23:28:54 +07:00
|
|
|
when: mariadb_use_percona_apt
|
2015-07-12 16:50:23 +07:00
|
|
|
|
2019-04-16 18:55:38 +07:00
|
|
|
- name: INCLUDE | Setup MariaDB repository
|
|
|
|
import_tasks: 'mariadb/upstream.yml'
|
2018-03-17 23:28:54 +07:00
|
|
|
when: mariadb_origin == 'upstream'
|
2015-07-12 16:50:23 +07:00
|
|
|
|
2019-04-16 18:55:38 +07:00
|
|
|
- name: INCLUDE | Install MariaDB
|
|
|
|
import_tasks: 'mariadb/default.yml'
|
|
|
|
|
2018-03-18 00:47:35 +07:00
|
|
|
- name: APT | Install few MariaDB related tools
|
2018-03-17 23:05:45 +07:00
|
|
|
apt:
|
2018-11-06 19:41:09 +07:00
|
|
|
pkg: "{{ mariadb_tools }}"
|
2018-03-17 23:05:45 +07:00
|
|
|
install_recommends: no
|
2017-06-28 21:15:44 +07:00
|
|
|
|
|
|
|
- name: APT | Install percona-xtrabackup if needed
|
2018-03-17 23:05:45 +07:00
|
|
|
apt:
|
2018-03-17 23:28:54 +07:00
|
|
|
pkg: "{{ mariadb_xtrabackup_package }}"
|
|
|
|
when: mariadb_install_xtrabackup_package
|