From f9e09a32542d59df52f8bd88fb755ed161ede24f Mon Sep 17 00:00:00 2001 From: Lorenzo Milesi Date: Wed, 20 Oct 2021 14:36:19 +0200 Subject: [PATCH] Properly use ansible_comment tag (#88) --- templates/auto-upgrades.j2 | 2 +- templates/unattended-upgrades.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/auto-upgrades.j2 b/templates/auto-upgrades.j2 index 5a64ed5..1ab295f 100644 --- a/templates/auto-upgrades.j2 +++ b/templates/auto-upgrades.j2 @@ -1,4 +1,4 @@ -// {{ ansible_managed }} +{{ ansible_managed | comment('c') }} APT::Periodic::Unattended-Upgrade "1"; diff --git a/templates/unattended-upgrades.j2 b/templates/unattended-upgrades.j2 index 86b6374..a4b9fce 100644 --- a/templates/unattended-upgrades.j2 +++ b/templates/unattended-upgrades.j2 @@ -1,4 +1,4 @@ -// {{ ansible_managed }} +{{ ansible_managed | comment('c') }} // Unattended-Upgrade::Origins-Pattern controls which packages are // upgraded.