# {{ ansible_managed }} # Automatically upgrade packages from these (origin:archive) pairs Unattended-Upgrade::Allowed-Origins { "${distro_id}:${distro_codename}-security"; #"${distro_id}:${distro_codename}-updates"; #"${distro_id}:${distro_codename}-proposed"; #"${distro_id}:${distro_codename}-backports"; }; # List of packages to not update (regexp are supported) Unattended-Upgrade::Package-Blacklist { {% for package in apt_unattended_upgrades_blacklist %} "{{ package }}"; {% endfor %} }; # Send email to this address for problems or packages upgrades # If empty or unset then no email is sent, make sure that you # have a working mail setup on your system. A package that provides # 'mailx' must be installed. E.g. "user@example.com" Unattended-Upgrade::Mail "root"; # Set this value to "true" to get emails only on errors. Default # is to always send a mail if Unattended-Upgrade::Mail is set Unattended-Upgrade::MailOnlyOnError "true"; # Do automatic removal of new unused dependencies after the upgrade # (equivalent to apt-get autoremove) #Unattended-Upgrade::Remove-Unused-Dependencies "false";