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

118 lines
4.1 KiB
Text
Raw Normal View History

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:
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }} main
{%- if l3d_pkgs__ethz_contrib | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
2021-08-02 12:18:04 +02:00
{%- endif -%}
{{- '\n' -}}
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }} main
{%- if l3d_pkgs__ethz_contrib | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
2021-08-02 12:18:04 +02:00
{%- endif -%}
{{- '\n\n' -}}
2023-07-31 17:36:20 +02:00
{%- if l3d_pkgs__ethz_security | bool -%}
2023-07-31 17:40:10 +02:00
{{ '# Inofficial Debian Security Mirror\n' }}
{%- if ansible_distribution_major_version >= '11' -%}
deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}-security main
2023-07-31 17:40:10 +02:00
{%- else -%}
deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates main
{%- endif -%}
{%- if l3d_pkgs__ethz_contrib | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
2021-08-02 12:18:04 +02:00
{%- endif -%}
{{- '\n' -}}
2023-07-31 17:40:10 +02:00
{%- if ansible_distribution_major_version >= '11' -%}
deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}-security main
2023-07-31 17:40:10 +02:00
{%- else -%}
deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/updates main
{%- endif -%}
{%- if l3d_pkgs__ethz_contrib | bool -%}
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
{%- endif -%}
{{- '\n\n' -}}
{%- endif -%}
2023-07-31 17:36:20 +02:00
{%- if l3d_pkgs__ethz_updates -%}
2021-09-01 18:13:28 +02:00
# {{ ansible_distribution_release }}-updates, previously known as 'volatile'
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates main
{%- if l3d_pkgs__ethz_contrib | bool -%}
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
{%- endif -%}
{{- '\n' -}}
2021-09-01 02:50:17 +02:00
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates main
{%- if l3d_pkgs__ethz_contrib | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
2021-08-02 12:18:04 +02:00
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
2021-08-02 12:18:04 +02:00
{%- endif -%}
{{- '\n\n' -}}
{%- endif -%}
2023-07-31 17:36:20 +02:00
{%- if l3d_pkgs__ethz__backports -%}
# {{ ansible_distribution_release }}-backports
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports main
{%- if l3d_pkgs__ethz_contrib | bool -%}
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
{%- endif -%}
{{- '\n' -}}
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports main
{%- if l3d_pkgs__ethz_contrib | bool -%}
{{- ' contrib' -}}
{%- endif -%}
{%- if l3d_pkgs__ethz_non_free | bool -%}
{{- ' non-free' -}}
{%- endif -%}
{%- if ansible_distribution_major_version >= '12' and l3d_pkgs__ethz_non_free_firmware | bool -%}
{{- ' non-free-firmware' -}}
{%- endif -%}
{{- '\n\n' -}}
{%- 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