ansible-mysql/templates/etc/mysql/conf.d/50-master.cnf.j2

21 lines
384 B
Plaintext
Raw Normal View History

#
# {{ ansible_managed }}
#
#
# Replication master
[mysqld]
server_id={{ mysql_server_id }}
2015-08-11 16:26:56 +07:00
log_bin = mysql-bin
log-bin-index = mysql-bin.index
expire_logs_days = {{ mysql_expire_logs_days }}
max_binlog_size = {{ mysql_max_binlog_size }}
2015-08-11 16:26:56 +07:00
{% if mysql_vendor == 'mariadb' and mysql_gtid %}
# MariaDB only
gtid_domain_id={{ mysql_gtid_domain_id }}
{% endif %}
; vim: set ft=dosini :