From e5312ea81cf0a96dc83ea99a6ec4dd0420522c9d Mon Sep 17 00:00:00 2001 From: Renat Galiev Date: Thu, 1 Jul 2021 19:31:37 +0000 Subject: [PATCH] update templates to apply comment filter for ansible_managed Signed-off-by: Renat Galiev --- templates/etc/rsyslog.conf.j2 | 2 +- templates/etc/rsyslog.d/rsyslog.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/etc/rsyslog.conf.j2 b/templates/etc/rsyslog.conf.j2 index ba986ea..3f1b0c0 100644 --- a/templates/etc/rsyslog.conf.j2 +++ b/templates/etc/rsyslog.conf.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # /etc/rsyslog.conf Configuration file for rsyslog. # # For more information see diff --git a/templates/etc/rsyslog.d/rsyslog.conf.j2 b/templates/etc/rsyslog.d/rsyslog.conf.j2 index 3981366..f006b94 100644 --- a/templates/etc/rsyslog.d/rsyslog.conf.j2 +++ b/templates/etc/rsyslog.d/rsyslog.conf.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} +# {{ ansible_managed | comment }} {% for item in item.value.settings | default([]) %} {{ item }}