aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt/templates/50unattended-upgrades.j2
blob: dfb2f9e257188c298ac9af1ed2b6ed001bf17e8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Unattended-Upgrade::Origins-Pattern {
    "origin=${distro_id},codename=${distro_codename}";
    "origin=${distro_id},codename=${distro_codename}-security";
};

Unattended-Upgrade::DevRelease "false";
Unattended-Upgrade::AutoFixInterruptedDpkg "true";
Unattended-Upgrade::MinimalSteps "true";
Unattended-Upgrade::InstallOnShutdown "false";
Unattended-Upgrade::Mail "root";
Unattended-Upgrade::MailOnlyOnError "true";
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
Unattended-Upgrade::Remove-Unused-Dependencies "true";
Unattended-Upgrade::Automatic-Reboot "{{ apt_unattended_reboot | lower }}";
Unattended-Upgrade::Automatic-Reboot-Time "{{ apt_unattended_reboot_time }}";
Unattended-Upgrade::SyslogEnable "true";

Dpkg::Options {
    "--force-confdef";
    "--force-confold";
};