From 0653c447dd213e794d77117b01ccccec0bbae068 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 20 Aug 2023 22:58:29 +0200 Subject: add ansible_managed comment to templates --- roles/apt/templates/02periodic.j2 | 2 ++ roles/apt/templates/50unattended-upgrades.j2 | 2 ++ 2 files changed, 4 insertions(+) (limited to 'roles/apt/templates') diff --git a/roles/apt/templates/02periodic.j2 b/roles/apt/templates/02periodic.j2 index 0c26a8f..42e080d 100644 --- a/roles/apt/templates/02periodic.j2 +++ b/roles/apt/templates/02periodic.j2 @@ -1,3 +1,5 @@ +{{ ansible_managed | comment }} + APT::Periodic::Enable "1"; APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; diff --git a/roles/apt/templates/50unattended-upgrades.j2 b/roles/apt/templates/50unattended-upgrades.j2 index dfb2f9e..389bb2b 100644 --- a/roles/apt/templates/50unattended-upgrades.j2 +++ b/roles/apt/templates/50unattended-upgrades.j2 @@ -1,3 +1,5 @@ +{{ ansible_managed | comment }} + Unattended-Upgrade::Origins-Pattern { "origin=${distro_id},codename=${distro_codename}"; "origin=${distro_id},codename=${distro_codename}-security"; -- cgit v1.2.3