auto-upgrades.wheezy.j2 796 B

12345678910111213141516171819202122
  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=proposed-updates";
  18. // "origin=Debian,archive=stable,label=Debian-Security";
  19. // "origin=Debian,archive=oldstable,label=Debian-Security";
  20. };