Use unattended-upgrades again to make sure packages are up-to-date.

We don't have the time to test all upgrades in advance.  Therefore, it's
safer to install all updates unattended and live with the (rare) risk of
faulty ones.

This reverts the commits:
  b4d9cbdb94
  a29d89a7ab
This commit is contained in:
Andreas B. Mundt 2024-06-14 08:58:30 +02:00
parent 4356474a43
commit 3573fa3697
2 changed files with 13 additions and 1 deletions

View file

@ -37,6 +37,12 @@
/srv/samba/schools/default-school/students/*/
/srv/samba/schools/default-school/examusers/
vtype: string
- name: Preseed unattended-upgrades
debconf:
name: unattended-upgrades
question: unattended-upgrades/enable_auto_updates
value: true
vtype: boolean
vars_files: lmn-vault
vars:
@ -70,6 +76,7 @@
- mc
- tmux
- krb5-user
- unattended-upgrades
- debconf-utils
extra_pkgs_bpo: [] # [ linux-image-amd64 ]
@ -197,7 +204,6 @@
- name: Remove packages we do not need anymore
ansible.builtin.apt:
name:
- unattended-upgrades
- cachefilesd
- mosquitto
state: absent