aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apt')
-rw-r--r--roles/apt/templates/02periodic.j22
-rw-r--r--roles/apt/templates/50unattended-upgrades.j22
2 files changed, 4 insertions, 0 deletions
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";