@ -63,6 +63,7 @@ The rest of the settings in `defaults/main.yml` control MySQL's memory usage. Th
mysql_server_id: "1"
mysql_max_binlog_size: "100M"
mysql_expire_logs_days: "10"
mysql_replication_role: master
mysql_replication_master: ''
mysql_replication_user: []
@ -71,6 +71,7 @@ mysql_users: []
# Replication settings (replication is only enabled if master/user have values).
# Same keys as `mysql_users` above.
@ -16,7 +16,7 @@ server-id = {{ mysql_server_id }}
{% if mysql_replication_role == 'master' %}
log_bin = mysql-bin
log-bin-index = mysql-bin.index
expire_logs_days = 10
expire_logs_days = {{ mysql_expire_logs_days }}
max_binlog_size = {{ mysql_max_binlog_size }}
{% for db in mysql_databases %}