Ansible role for putting (debian) systems into a sane state.
Find a file
Jonas Schäfer 6d909014b6 Modify apt-daily-upgrade.{timer,service} for more efficiency
By default, there is no coordination between apt-daily.timer
(which refreshes the apt package index and may download
packages) and apt-daily-upgrade.timer (which actually
installs updates).

That means that (due to RandomizedDelaySec=12h on apt-daily.timer and
the default schedule of 6:00 and 18:00 daily), there is a worst-case
delay of 12h between updating package indices and applying upgrades.

In the current climate of really fast-paced updates, that is not
acceptable to me.

This commit:

- makes unattended-upgrades run effectively at a 4h interval
- schedules it s.t. it is likely to complete just before a reboot is
  allowed once per day
- ensures that package caches are always fresh when unattended-upgrades
  is run.

We still don't control the propagation of updated packages into the
mirrors we use, but this is better than nothing.
2026-05-29 16:11:31 +02:00
defaults Modify apt-daily-upgrade.{timer,service} for more efficiency 2026-05-29 16:11:31 +02:00
handlers Lots of work in a huge commit again. I’m sorry. 2020-01-16 17:43:05 +01:00
tasks Modify apt-daily-upgrade.{timer,service} for more efficiency 2026-05-29 16:11:31 +02:00
templates Modify apt-daily-upgrade.{timer,service} for more efficiency 2026-05-29 16:11:31 +02:00
LICENSE Add LICENSE 2022-12-13 16:43:55 +00:00