2019-11-15 23:01:23 +01:00
|
|
|
# There is no MySQL 5.7 for RHEL 8. This will need to be retooled to use 8.0 for RHEL 8 or use the setup_mysql8 role for everything
|
|
|
|
repo_link: https://repo.mysql.com/mysql57-community-release-el{{ ansible_facts.distribution_major_version }}.rpm
|
2019-10-04 12:49:19 +02:00
|
|
|
repo_name: mysql-community
|
2019-10-09 15:27:01 +02:00
|
|
|
mysql_package_name: mysql-community-server
|
2019-10-04 12:49:19 +02:00
|
|
|
|
|
|
|
master_port: 3306
|
|
|
|
standby_port: 3307
|
|
|
|
master_datadir: /var/lib/mysql_master
|
2019-10-09 15:27:01 +02:00
|
|
|
master_cnf: /etc/my-1.cnf
|
|
|
|
standby_cnf: /etc/my-2.cnf
|
2019-10-04 12:49:19 +02:00
|
|
|
standby_datadir: /var/lib/mysql_standby
|
|
|
|
standby_logdir: /var/log/mysql_standby
|
|
|
|
default_logdir: /var/log/mysql
|
2019-10-09 15:27:01 +02:00
|
|
|
mysqld_err_log: '{{ default_logdir }}/mysql-err.log'
|