Fixed unattended upgrades and configure time for updates/upgrades
Previously only unattended updates (i.e. apt update) was working. Unattended upgrades (i.e. apt upgrade) are disabled by default and needed to be enabled with a config file.
This commit is contained in:
parent
d5a9e6bd05
commit
075823ffb5
5 changed files with 64 additions and 2 deletions
|
|
@ -1,2 +1,4 @@
|
|||
update:
|
||||
unattended: no
|
||||
apt_daily_time: "*-*-* {{ 24|random(seed=(inventory_hostname + 'apt_daily_h')) }}:{{ 60|random(seed=(inventory_hostname + 'apt_daily_m')) }}"
|
||||
apt_daily_upgrade_time: "*-*-* 6:{{ 60|random(seed=(inventory_hostname + 'apt_daily_upgrade_time')) }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue