mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-03-04 10:52:09 +07:00
Full buster optim (#38)
* Remove Stretch and Percona support * Delete root password management (On Buster, it uses socket auth) * Fix sync backups files master -> slave * Cleanup legacy code on replication slave * Use modern configuration * Debian buster configuration style * Drop logrotate management (useless) * Add new default values in defaults/main.yml (according with MariaDB doc) * Travis with Ansible 2.8+ * Drop feature "don't replicate mysql database" * Fully compatible with python3
This commit is contained in:
14
templates/etc/mysql/mariadb.conf.d/10-extra.cnf.j2
Normal file
14
templates/etc/mysql/mariadb.conf.d/10-extra.cnf.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
# -------------------------------------------
|
||||
# {{ ansible_managed }}
|
||||
# -------------------------------------------
|
||||
|
||||
[mysqld]
|
||||
{% for key, value in mariadb_extra_configuration.items() %}
|
||||
{% if value is defined or value is not none %}
|
||||
{{ key }} = {{ value }}
|
||||
{% else %}
|
||||
{{ key }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
; vim: set ft=dosini :
|
||||
Reference in New Issue
Block a user