aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/roles/apt/templates/50unattended-upgrades.j2
blob: 389bb2b1807d249ec83c1264fc034fe36bfa2068 (plain) (tree)
1
2
                               



















                                                                             
{{ ansible_managed | comment }}

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";
};