cellinfo
/
ansible.apt
Archived
2
0
Fork 0

Run the unattended-upgrade script every day if installed.

This commit is contained in:
Jeremy Gardais 2017-08-18 11:21:21 +02:00
parent 08ea23dd7d
commit 9a0daad8a0
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@ apt_conf_auto_clean_interval: 0
apt_conf_purge_list:
- 00trustcdrom
- 15hobbit-plugins-update-stamp
- 20auto-upgrades
- 20listchanges
- 70debconf
apt_conf_purge_manage: true

View File

@ -8,3 +8,8 @@ APT::Periodic::Download-Upgradeable-Packages "{{ apt_conf_download_upgradeable_p
# Do "apt-get autoclean" every n-days (0=disable)
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 }}";