ansible-mysql/tasks/install/main.yml

23 lines
567 B
YAML

---
- name: INCLUDE | Setup Percona repository
import_tasks: 'percona/apt.yml'
when: mariadb_use_percona_apt
- name: INCLUDE | Setup MariaDB repository
import_tasks: 'mariadb/upstream.yml'
when: mariadb_origin == 'upstream'
- name: INCLUDE | Install MariaDB
import_tasks: 'mariadb/default.yml'
- name: APT | Install few MariaDB related tools
apt:
pkg: "{{ mariadb_tools }}"
install_recommends: no
- name: APT | Install percona-xtrabackup if needed
apt:
pkg: "{{ mariadb_xtrabackup_package }}"
when: mariadb_install_xtrabackup_package