From 9d870b55c8ca1f8cccc64c8c5ac7228873b55214 Mon Sep 17 00:00:00 2001 From: dbh-tja <117364981+dbh-tja@users.noreply.github.com> Date: Wed, 7 Dec 2022 12:19:40 +0100 Subject: [PATCH] Update templates/etc_my.cnf.d_custom.cnf.j2, templates/etc_logrotate.d_mysql.j2, templates/etc_my.cnf.d_network.cnf.j2, templates/etc_my.cnf.d_server.cnf.j2 --- templates/etc_logrotate.d_mysql.j2 | 2 +- templates/etc_my.cnf.d_custom.cnf.j2 | 3 +-- templates/etc_my.cnf.d_network.cnf.j2 | 3 +-- templates/etc_my.cnf.d_server.cnf.j2 | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) 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() %}