From 59e71ae58c43ef4097be02fe63987d19b951c22e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 27 Aug 2019 22:56:02 +0200 Subject: [PATCH] fix ansible_managed handling --- templates/etc/systemd/system/postgresql.service.j2 | 2 +- templates/postgresql/data/postgresql.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/etc/systemd/system/postgresql.service.j2 b/templates/etc/systemd/system/postgresql.service.j2 index a2f9b94..bf7afb4 100644 --- a/templates/etc/systemd/system/postgresql.service.j2 +++ b/templates/etc/systemd/system/postgresql.service.j2 @@ -1,4 +1,4 @@ -## {{ ansible_managed }} +{{ ansible_managed | comment }} .include {{ __postgres_service_file }} [Service] Environment=PGDATA={{ __postgres_data_dir }} diff --git a/templates/postgresql/data/postgresql.conf.j2 b/templates/postgresql/data/postgresql.conf.j2 index 3735269..8baf404 100644 --- a/templates/postgresql/data/postgresql.conf.j2 +++ b/templates/postgresql/data/postgresql.conf.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} +{{ ansible_managed | comment }} # ----------------------------- # PostgreSQL configuration file # -----------------------------