From 229c686261cf98393052f57e9d8e3c37a9b60a45 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 28 Aug 2019 10:55:24 +0200 Subject: [PATCH] fix ansible_managed handling --- templates/etc/mongod.conf.j2 | 4 +--- templates/etc/mongod_init.conf.j2 | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/templates/etc/mongod.conf.j2 b/templates/etc/mongod.conf.j2 index 93e996f..530906c 100644 --- a/templates/etc/mongod.conf.j2 +++ b/templates/etc/mongod.conf.j2 @@ -1,6 +1,4 @@ -## {{ ansible_managed }} -# mongod.conf - +{{ ansible_managed | comment }} # for documentation of all options, see: # http://docs.mongodb.org/manual/reference/configuration-options/ diff --git a/templates/etc/mongod_init.conf.j2 b/templates/etc/mongod_init.conf.j2 index 7570bad..c3fc190 100644 --- a/templates/etc/mongod_init.conf.j2 +++ b/templates/etc/mongod_init.conf.j2 @@ -1,6 +1,4 @@ -## {{ ansible_managed }} -# mongod.conf - +{{ ansible_managed | comment }} # for documentation of all options, see: # http://docs.mongodb.org/manual/reference/configuration-options/