auto-upgrades.jessie.j2 806 B

123456789101112131415161718192021
  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=stable";
  16. "o=Debian,a=stable-updates";
  17. // "o=Debian,a=stable-proposed-updates";
  18. "origin=Debian,archive=stable,label=Debian-Security";
  19. };