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" {