From 8c2bf15fe67c2f712d01882dfe11dd7e46530581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Mon, 7 Nov 2022 10:41:08 +0100 Subject: [PATCH] Pipe ansible_managed to `comment` jinja filter To be able to manage multi-lines in ansible_managed. --- CHANGELOG.md | 6 ++++++ templates/etc/fusioninventory/agent.cfg.j2 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd6b173..59e12d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## v1.X.Y + +### Fix +* Switch to Github URL to download deb file (thanks to @roumano - PR #16). +* Pipe ansible_managed to `comment` jinja filter to manage multi-lines. + ## v1.4.1 ### Fix diff --git a/templates/etc/fusioninventory/agent.cfg.j2 b/templates/etc/fusioninventory/agent.cfg.j2 index 41725da..1f03aa6 100644 --- a/templates/etc/fusioninventory/agent.cfg.j2 +++ b/templates/etc/fusioninventory/agent.cfg.j2 @@ -1,4 +1,4 @@ -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # .. vim: foldmarker=[[[,]]]:foldmethod=marker # fusioninventory agent configuration