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:
parent
4356474a43
commit
3573fa3697
2 changed files with 13 additions and 1 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue