ansible/roles/unattended-upgrades/templates/auto-upgrades.j2

15 lines
489 B
Plaintext
Raw Permalink Normal View History

2019-03-16 17:05:55 +00:00
// {{ ansible_managed }}
{% if unattended_upgrades_update_package_lists %}
APT::Periodic::Update-Package-Lists "1";
{% endif %}
{% if unattended_upgrades_download_upgradable_packages %}
APT::Periodic::Download-Upgradeable-Packages "1";
{% endif %}
{% if unattended_upgrades_autoclean_interval %}
APT::Periodic::AutocleanInterval "{{ unattended_upgrades_autoclean_interval }}";
{% endif %}
{% if unattended_upgrades_unattended_upgrade %}
APT::Periodic::Unattended-Upgrade "1";
{% endif %}