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

@ -132,6 +132,12 @@
"ProxyMode": "auto_detect"
}
- name: Update all packages unattended
ansible.builtin.replace:
path: /etc/apt/apt.conf.d/50unattended-upgrades
regexp: '^//(\s+"origin=.+-updates";)$'
replace: ' \1'
- name: Copy some scripts
copy:
src: "{{ item }}"