auto-upgrades.buster.j2 885 B

123456789101112131415161718192021222324252627
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog('//') }}
  4. {% endif -%}
  5. APT::Periodic::Update-Package-Lists "1";
  6. APT::Periodic::Unattended-Upgrade "1";
  7. Unattended-Upgrade::Mail "root";
  8. //Unattended-Upgrade::MailOnlyOnError "true";
  9. // Automatically upgrade packages from these origin patterns
  10. Unattended-Upgrade::Origins-Pattern {
  11. // Archive or Suite based matching:
  12. // Note that this will silently match a different release after
  13. // migration to the specified archive (e.g. testing becomes the
  14. // new stable).
  15. "o=Debian,a=buster";
  16. "o=Debian,a=buster-updates";
  17. // "o=Debian,a=buster-proposed-updates";
  18. "origin=Debian,archive=buster,label=Debian-Security";
  19. {% if auto_upgrade_additional_patterns %}
  20. {% for pattern in auto_upgrade_additional_patterns %}
  21. "{{ pattern }}";
  22. {% endfor %}
  23. {% endif %}
  24. };