Use comment jinja filter with ansible_managed

This commit is contained in:
GARDAIS Jeremy 2024-09-04 16:57:05 +02:00
parent 2ab819bac4
commit 03a3efb185
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 7 additions and 4 deletions

View File

@ -4,6 +4,9 @@
* Replace flatten jinja filter with **list**.
* Call module with FQCN.
### Enhancements
* Use comment jinja filter with ansible_managed to allow multi-lines comment.
## v1.1.2
### Enhancements

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }}
# {{ ansible_managed | comment }}
#
# Master configuration file for Xymon
#
@ -20,6 +20,6 @@
#page common Common
#group-except sslcert|bbd|xymond|xymongen|xymonnet|xymonproxy <font size="+1">Test</font>
#include hosts.d/common.cfg
#group-except sslcert|bbd|xymond|xymongen|xymonnet|xymonproxy <font size="+1">Test</font>
#include hosts.d/common.cfg

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }}
# {{ ansible_managed | comment }}
#192.168.0.1 www.{{ ansible_domain }} # apt libs SSH apache https://www.{{ ansible_domain }}
#192.168.0.2 pxe.{{ ansible_domain }} # apt libs SSH DESCR:PXE CLIENT:deploy