cellinfo
/
ansible.apt
Archived
2
0
Fork 0
This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
ansible.apt/templates/etc/apt/apt.conf.d/10periodic.conf.j2

16 lines
695 B
Django/Jinja

# {{ ansible_managed }}
# Do "apt-get update" automatically every n-days (0=disable)
APT::Periodic::Update-Package-Lists "{{ apt_conf_update_pkg_lists }}";
# Do "apt-get upgrade --download-only" every n-days (0=disable)
APT::Periodic::Download-Upgradeable-Packages "{{ apt_conf_download_upgradeable_pkg }}";
# 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 }}";