From 330399edfdf50c8092ea542cb9fa33d4afeab8d0 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 8 Feb 2023 16:15:03 +0100 Subject: [PATCH] Pipe ansible_managed to comment Jinja filter To allow multi lines in ansible_managed. --- update-motd.d/01-system | 2 +- update-motd.d/05-auth | 2 +- update-motd.d/10-filesystem | 2 +- update-motd.d/20-service | 2 +- update-motd.d/50-ansible | 2 +- update-motd.d/99-tail | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/update-motd.d/01-system b/update-motd.d/01-system index 6ddf1ac..589b7e4 100755 --- a/update-motd.d/01-system +++ b/update-motd.d/01-system @@ -1,7 +1,7 @@ #!/bin/sh # .. vim: foldmarker=[[[,]]]:foldmethod=marker -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # Colors definition [[[ BLACK='\033[49;30m' diff --git a/update-motd.d/05-auth b/update-motd.d/05-auth index 5f55a19..111713c 100755 --- a/update-motd.d/05-auth +++ b/update-motd.d/05-auth @@ -1,7 +1,7 @@ #!/bin/sh # .. vim: foldmarker=[[[,]]]:foldmethod=marker -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # Colors definition [[[ BLACK='\033[49;30m' diff --git a/update-motd.d/10-filesystem b/update-motd.d/10-filesystem index b32e7ce..b545f66 100755 --- a/update-motd.d/10-filesystem +++ b/update-motd.d/10-filesystem @@ -1,7 +1,7 @@ #!/bin/sh # .. vim: foldmarker=[[[,]]]:foldmethod=marker -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # Colors definition [[[ BLACK='\033[49;30m' diff --git a/update-motd.d/20-service b/update-motd.d/20-service index f33aac5..9cbe80a 100755 --- a/update-motd.d/20-service +++ b/update-motd.d/20-service @@ -1,7 +1,7 @@ #!/bin/sh # .. vim: foldmarker=[[[,]]]:foldmethod=marker -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # Colors definition [[[ BLACK='\033[49;30m' diff --git a/update-motd.d/50-ansible b/update-motd.d/50-ansible index c675f2d..fdd5d8b 100755 --- a/update-motd.d/50-ansible +++ b/update-motd.d/50-ansible @@ -1,7 +1,7 @@ #!/bin/sh # .. vim: foldmarker=[[[,]]]:foldmethod=marker -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # Colors definition [[[ BLACK='\033[49;30m' diff --git a/update-motd.d/99-tail b/update-motd.d/99-tail index e2e5e0d..df083c1 100755 --- a/update-motd.d/99-tail +++ b/update-motd.d/99-tail @@ -1,7 +1,7 @@ #!/bin/sh # .. vim: foldmarker=[[[,]]]:foldmethod=marker -# {{ ansible_managed }} +# {{ ansible_managed | comment }} # Colors definition [[[ BLACK='\033[49;30m'