123456789101112131415161718192021222324252627 |
- {% if ansible_controlled is defined and ansible_controlled != "" %}
- //
- // {{ ansible_controlled }}
- //
- {% endif %}
- APT::Periodic::Update-Package-Lists "1";
- APT::Periodic::Unattended-Upgrade "1";
- Unattended-Upgrade::Mail "root";
- //Unattended-Upgrade::MailOnlyOnError "true";
- // Automatically upgrade packages from these origin patterns
- Unattended-Upgrade::Origins-Pattern {
- // Archive or Suite based matching:
- // Note that this will silently match a different release after
- // migration to the specified archive (e.g. testing becomes the
- // new stable).
- "o=Debian,a=buster";
- "o=Debian,a=buster-updates";
- // "o=Debian,a=buster-proposed-updates";
- "origin=Debian,archive=buster,label=Debian-Security";
- {% if auto_upgrade_additional_patterns %}
- {% for pattern in auto_upgrade_additional_patterns %}
- "{{ pattern }}";
- {% endfor %}
- {% endif %}
- };
|