ansible-role-update/defaults/main.yml
Julian 075823ffb5
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.
2022-01-07 17:17:56 +01:00

4 lines
275 B
YAML

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')) }}"