47 lines
1.4 KiB
Django/Jinja
47 lines
1.4 KiB
Django/Jinja
// Unattended-Upgrade configuration
|
|
// Managed by Ansible - do not edit manually
|
|
|
|
Unattended-Upgrade::Allowed-Origins {
|
|
"${distro_id}:${distro_codename}";
|
|
"${distro_id}:${distro_codename}-security";
|
|
"${distro_id}ESMApps:${distro_codename}-apps-security";
|
|
"${distro_id}ESM:${distro_codename}-infra-security";
|
|
};
|
|
|
|
// List of packages to not update
|
|
Unattended-Upgrade::Package-Blacklist {
|
|
};
|
|
|
|
// Automatically reboot if needed
|
|
Unattended-Upgrade::Automatic-Reboot "{{ unattended_upgrades_automatic_reboot | lower }}";
|
|
|
|
// Reboot time (staggered per node)
|
|
Unattended-Upgrade::Automatic-Reboot-Time "{{ reboot_time }}";
|
|
|
|
// Automatically reboot even if users are logged in
|
|
Unattended-Upgrade::Automatic-Reboot-WithUsers "{{ unattended_upgrades_automatic_reboot_with_users | lower }}";
|
|
|
|
// Remove unused kernel packages
|
|
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
|
|
|
|
// Remove unused dependencies
|
|
Unattended-Upgrade::Remove-Unused-Dependencies "true";
|
|
|
|
// Send email on errors
|
|
Unattended-Upgrade::Mail "";
|
|
|
|
// Always send email
|
|
Unattended-Upgrade::MailReport "on-change";
|
|
|
|
// Update package lists
|
|
Unattended-Upgrade::Update-Days {"Mon";"Tue";"Wed";"Thu";"Fri";"Sat";"Sun";};
|
|
|
|
// Automatically fix dpkg interruptions
|
|
Dpkg::Options {
|
|
"--force-confdef";
|
|
"--force-confold";
|
|
};
|
|
|
|
// Logging
|
|
Unattended-Upgrade::SyslogEnable "true";
|
|
Unattended-Upgrade::SyslogFacility "daemon";
|