1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00
ansible_role_packages/templates/apt.sources.list.j2

33 lines
1.7 KiB
Text
Raw Normal View History

2023-10-28 01:30:25 +02:00
{{ ansible_managed | comment }}
2021-08-02 12:18:04 +02:00
# Debian mirror der ETH Zürich
# https://debian.ethz.ch/
# https://wiki.debianforum.de/Sources.list
2021-08-02 12:18:04 +02:00
# HTTPS mirror:
2024-04-27 02:43:22 +02:00
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }} {{ packages__debian_packages_version }}
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }} {{ packages__debian_packages_version }}
2021-08-02 12:18:04 +02:00
2023-10-28 01:30:25 +02:00
{% if ansible_distribution_major_version >= '11' %}
2024-04-27 02:43:22 +02:00
deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}-security {{ packages__debian_packages_version }}
deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}-security {{ packages__debian_packages_version }}
2023-10-28 01:30:25 +02:00
{% else %}
2024-04-27 02:43:22 +02:00
deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates {{ packages__debian_packages_version }}
deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates {{ packages__debian_packages_version }}
2023-10-28 01:30:25 +02:00
{% endif %}
2024-04-27 02:43:22 +02:00
{% if packages__ethz_updates %}
2021-09-01 18:13:28 +02:00
# {{ ansible_distribution_release }}-updates, previously known as 'volatile'
2024-04-27 02:43:22 +02:00
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates {{ packages__debian_packages_version }}
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates {{ packages__debian_packages_version }}
2023-10-28 01:30:25 +02:00
{% endif %}
2021-08-02 12:18:04 +02:00
2024-04-27 02:43:22 +02:00
{% if packages__ethz__backports %}
# {{ ansible_distribution_release }}-backports
2024-04-27 02:43:22 +02:00
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports {{ packages__debian_packages_version }}
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports {{ packages__debian_packages_version }}
2023-10-28 01:30:25 +02:00
{% endif %}
2021-08-02 12:18:04 +02:00
# Contact for proplems with the mirror:
# https://readme.phys.ethz.ch/services/contact/
# Or #isgphys on irc.phys.ethz.ch