From 3488c92b54bb1119aa51e7284bbfa23aeed8c19c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 18 Sep 2019 17:18:26 +0200 Subject: [PATCH] fix ansible_managed handling --- templates/config/cli.ini.j2 | 5 ++--- templates/corenetworks/config.ini.j2 | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/config/cli.ini.j2 b/templates/config/cli.ini.j2 index 824d242..369f39f 100644 --- a/templates/config/cli.ini.j2 +++ b/templates/config/cli.ini.j2 @@ -1,6 +1,5 @@ -#jinja2: trim_blocks: True, lstrip_blocks: True -# {{ ansible_managed }} - +#jinja2: lstrip_blocks: True +{{ ansible_managed | comment}} {% if certbot_preferred_challenges is defined %} preferred-challenges = {{ certbot_preferred_challenges }} {% endif %} diff --git a/templates/corenetworks/config.ini.j2 b/templates/corenetworks/config.ini.j2 index 1f2c24d..241a945 100644 --- a/templates/corenetworks/config.ini.j2 +++ b/templates/corenetworks/config.ini.j2 @@ -1,6 +1,5 @@ -#jinja2: trim_blocks: True, lstrip_blocks: True -# {{ ansible_managed }} - +#jinja2: lstrip_blocks: True +{{ ansible_managed | comment }} [API] HOST = {{ certbot_core_networks_api_host }} USER = {{ certbot_core_networks_api_user }}