ansible-mysql/tasks/install/main.yml

23 lines
567 B
YAML
Raw Normal View History

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