Run the unattended-upgrade script every day if installed.
This commit is contained in:
parent
08ea23dd7d
commit
9a0daad8a0
|
@ -8,6 +8,7 @@ apt_conf_auto_clean_interval: 0
|
||||||
apt_conf_purge_list:
|
apt_conf_purge_list:
|
||||||
- 00trustcdrom
|
- 00trustcdrom
|
||||||
- 15hobbit-plugins-update-stamp
|
- 15hobbit-plugins-update-stamp
|
||||||
|
- 20auto-upgrades
|
||||||
- 20listchanges
|
- 20listchanges
|
||||||
- 70debconf
|
- 70debconf
|
||||||
apt_conf_purge_manage: true
|
apt_conf_purge_manage: true
|
||||||
|
|
|
@ -8,3 +8,8 @@ APT::Periodic::Download-Upgradeable-Packages "{{ apt_conf_download_upgradeable_p
|
||||||
|
|
||||||
# Do "apt-get autoclean" every n-days (0=disable)
|
# Do "apt-get autoclean" every n-days (0=disable)
|
||||||
APT::Periodic::AutocleanInterval "{{ apt_conf_auto_clean_interval }}";
|
APT::Periodic::AutocleanInterval "{{ apt_conf_auto_clean_interval }}";
|
||||||
|
|
||||||
|
# Run the “unattended-upgrade” security upgrade script every n-days (0=disabled)
|
||||||
|
# Requires the package “unattended-upgrades” and will write
|
||||||
|
# a log in /var/log/unattended-upgrades
|
||||||
|
APT::Periodic::Unattended-Upgrade "{{ apt_unattended_upgrades | int }}";
|
||||||
|
|
Reference in New Issue