27 lines
471 B
Django/Jinja
27 lines
471 B
Django/Jinja
#
|
|
# {{ ansible_managed }}
|
|
#
|
|
|
|
#
|
|
# Replication slave
|
|
|
|
[mysqld]
|
|
server_id={{ mariadb_server_id }}
|
|
{% if mariadb_slave_readonly %}
|
|
read-only
|
|
{% endif %}
|
|
|
|
# --> Ignore DB/tables
|
|
{% if not mariadb_slave_replicate_mysqldb %}
|
|
replicate-ignore-db=mysql
|
|
{% endif %}
|
|
{% for db in mariadb_slave_ignore_db %}
|
|
replicate-ignore-db={{ db }}
|
|
{% endfor %}
|
|
{% for t in mariadb_slave_ignore_table %}
|
|
replicate-ignore-table={{ t }}
|
|
{% endfor %}
|
|
# <-- Ignore DB/tables
|
|
|
|
; vim: set ft=dosini :
|