From 0fcb047b1784acbf95c651fb5334c2ea19dcc5f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Tue, 2 Aug 2022 11:21:40 +0200
Subject: [PATCH] fix: remove cron config for cron-apt (this software is no
 longer in use)

---
 tasks/configure_autoupdate.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tasks/configure_autoupdate.yml b/tasks/configure_autoupdate.yml
index f0c3dbb..33877ce 100644
--- a/tasks/configure_autoupdate.yml
+++ b/tasks/configure_autoupdate.yml
@@ -12,9 +12,10 @@
       loop:
         - "/etc/cron-apt/action.d/3-download"
         - "/etc/cron-apt/config"
+        - "/etc/cron.d/cron-apt"
   when: ansible_os_family == "Debian"
 
-# unattended-upgrades is the default in Debian 11 and new UDA installations
+# unattended-upgrades is the default in Debian 11 and new GUBS installations
 # anyway, so we use it instead of cron-apt.
 - name: Install & configure unattended-upgrades (Debian/Ubuntu)
   block:
@@ -40,7 +41,7 @@
       loop:
         - 'Unattended-Upgrade::Mail "root";'
         - 'Unattended-Upgrade::MailOnlyOnError "true";'
-    # This file is present in UDA default installations. It sets unattended-
+    # This file is present in GUBS default installations. It sets unattended-
     # upgrades to install security upgrades only. We want all updates, so we
     # delete it.
     # (refers to https://git.slub-dresden.de/slub-referat-2-4/sdvuda10/-/commit/4c265c91ffef7775cad8abbe69da35bc398622e9)
-- 
GitLab