2019-10-19 13:10:35 +02:00
|
|
|
repo_link: http://yum.mariadb.org/10.1/centos7-amd64
|
|
|
|
repo_gpgkey: https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
|
|
|
|
|
|
|
|
mariadb_packages:
|
2019-11-15 23:06:27 +01:00
|
|
|
- MariaDB-server
|
|
|
|
- MariaDB-client
|
2019-10-19 13:10:35 +02:00
|
|
|
|
|
|
|
packages_to_cleanup:
|
2019-11-15 23:06:27 +01:00
|
|
|
- MariaDB-common
|
|
|
|
- boost-program-options
|
|
|
|
- galera
|
|
|
|
- jemalloc
|
2019-10-19 13:10:35 +02:00
|
|
|
|
2019-11-15 23:06:27 +01:00
|
|
|
primary_db:
|
|
|
|
name: primary
|
|
|
|
port: 3306
|
|
|
|
datadir: /var/lib/mysql_primary
|
|
|
|
logdir: /var/log/mysql_primary
|
2019-10-19 13:10:35 +02:00
|
|
|
|
2019-11-15 23:06:27 +01:00
|
|
|
replica_db:
|
|
|
|
name: replica01
|
|
|
|
port: 3307
|
|
|
|
datadir: /var/lib/mysql_replica01
|
|
|
|
logdir: /var/log/mysql_replica01
|
2019-10-19 13:10:35 +02:00
|
|
|
|
2019-10-23 15:50:31 +02:00
|
|
|
default_datadir: /var/lib/mysql
|
2019-10-01 08:29:40 +02:00
|
|
|
default_logdir: /var/log/mariadb
|
|
|
|
mysql_safe_err_log: /var/log/mariadb/mysql_safe-err.log
|
2019-10-23 15:50:31 +02:00
|
|
|
|
|
|
|
fs_objects_to_clean_up:
|
2019-11-15 23:06:27 +01:00
|
|
|
- "{{ primary_db.datadir }}"
|
|
|
|
- "{{ primary_db.logdir }}"
|
|
|
|
- "{{ replica_db.datadir }}"
|
|
|
|
- "{{ replica_db.logdir }}"
|
|
|
|
- "{{ default_datadir }}"
|
|
|
|
- "{{ default_logdir }}"
|
|
|
|
- "{{ mysql_safe_err_log }}"
|