28 lines
813 B
YAML
28 lines
813 B
YAML
---
|
|
|
|
- name: INCLUDE | Install MySQL from default repo
|
|
include: 'install_default_mysql.yml'
|
|
when: mysql_origin == 'default' mysql_vendor == 'mysql'
|
|
|
|
- name: INCLUDE | Install MariaDB from Debian repo
|
|
include: 'install_default_mariadb.yml'
|
|
when: mysql_origin == 'default' and mysql_vendor == 'mariadb'
|
|
|
|
- name: INCLUDE | Install MariaDB from MariaDB repo
|
|
include: 'install_mariadb_mariadb.yml'
|
|
when: mysql_origin == 'mariadb' and mysql_vendor == 'mariadb'
|
|
|
|
- name: INCLUDE | Install Percona Server from Percona repo
|
|
include: 'install_percona_percona.yml'
|
|
when: mysql_origin == 'percona' and mysql_vendor == 'percona'
|
|
|
|
- name: APT | Install few MySQL related tools
|
|
apt: pkg={{ item }} state=latest
|
|
with_items:
|
|
- mytop
|
|
- percona-toolkit
|
|
- python-configparser
|
|
- python-mysqldb
|
|
|
|
|