From 6f91f95d490aeceadd73651d1eb6c7d375155bfb Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Mon, 7 Jan 2019 09:25:08 +0100 Subject: [PATCH] Add proper ansible_managed comment to file --- roles/grub-config/templates/50_custom.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/grub-config/templates/50_custom.j2 b/roles/grub-config/templates/50_custom.j2 index 74a944b..cb8dc29 100644 --- a/roles/grub-config/templates/50_custom.j2 +++ b/roles/grub-config/templates/50_custom.j2 @@ -1,7 +1,7 @@ #!/bin/sh -exec tail -n +3 $0 +{{ ansible_managed | comment }} -# This file is configured by the ansible configuration for yaVDR +exec tail -n +3 $0 {% if system.shutdown is defined and system.shutdown == 'reboot' %} menuentry "PowerOff" {