auto-upgrades.squeeze.j2 679 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. "o=Debian,a=squeeze-lts";
  12. // "origin=Debian,archive=stable,label=Debian-Security";
  13. // "origin=Debian,archive=oldstable,label=Debian-Security";
  14. {% if auto_upgrade_additional_patterns %}
  15. {% for pattern in auto_upgrade_additional_patterns %}
  16. "{{ pattern }}";
  17. {% endfor %}
  18. {% endif %}
  19. };