diff --git a/templates/etc_logrotate.d_mysql.j2 b/templates/etc_logrotate.d_mysql.j2 index 9855255..eb97faa 100644 --- a/templates/etc_logrotate.d_mysql.j2 +++ b/templates/etc_logrotate.d_mysql.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} +{{ ansible_managed | comment }} # This logname can be set in /etc/{{ 'mysql/' if ansible_distribution == 'Debian' else '' }}my.cnf # by setting the variable "log-error" diff --git a/templates/etc_my.cnf.d_custom.cnf.j2 b/templates/etc_my.cnf.d_custom.cnf.j2 index 9154fa3..f92372a 100644 --- a/templates/etc_my.cnf.d_custom.cnf.j2 +++ b/templates/etc_my.cnf.d_custom.cnf.j2 @@ -1,6 +1,5 @@ # MariaDB Custom server configuration -# -# {{ ansible_managed }} +{{ ansible_managed | comment }} {% for section_name, section_contents in mariadb_custom_cnf.items() %} [{{ section_name }}] diff --git a/templates/etc_my.cnf.d_network.cnf.j2 b/templates/etc_my.cnf.d_network.cnf.j2 index cd240f1..7a0336f 100644 --- a/templates/etc_my.cnf.d_network.cnf.j2 +++ b/templates/etc_my.cnf.d_network.cnf.j2 @@ -1,6 +1,5 @@ # Mariadb network settings -# -# {{ ansible_managed }} +{{ ansible_managed | comment }} [mysqld] bind_address={{ mariadb_bind_address }} diff --git a/templates/etc_my.cnf.d_server.cnf.j2 b/templates/etc_my.cnf.d_server.cnf.j2 index c49a599..8e9e2e2 100644 --- a/templates/etc_my.cnf.d_server.cnf.j2 +++ b/templates/etc_my.cnf.d_server.cnf.j2 @@ -1,6 +1,5 @@ # MariaDB Server configuration -# -# {{ ansible_managed }} +{{ ansible_managed | comment }} [mariadb] {% for key, value in mariadb_server_cnf.items() %}