feat: Use deb822 format for sources
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
deb http://deb.debian.org/debian {{ apt_distribution_release }} {{ apt_distribution_sections }}
|
||||
deb http://security.debian.org/debian-security {{ apt_distribution_release }}-security {{ apt_distribution_sections }}
|
||||
deb http://deb.debian.org/debian {{ apt_distribution_release }}-updates {{ apt_distribution_sections }}
|
||||
deb https://deb.debian.org/debian/ {{ apt_distribution_release }}-backports {{ apt_distribution_sections }}
|
@@ -1,6 +0,0 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
deb http://deb.debian.org/debian {{ apt_distribution_release }} {{ apt_distribution_sections }}
|
||||
deb http://security.debian.org/debian-security {{ apt_distribution_release }}-security {{ apt_distribution_sections }}
|
||||
deb http://deb.debian.org/debian {{ apt_distribution_release }}-updates {{ apt_distribution_sections }}
|
||||
deb https://deb.debian.org/debian/ {{ apt_distribution_release }}-backports {{ apt_distribution_sections }}
|
@@ -1,3 +0,0 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
deb http://deb.debian.org/debian {{ apt_distribution_release }} {{ apt_distribution_sections }}
|
21
templates/debian.sources.list.j2
Normal file
21
templates/debian.sources.list.j2
Normal file
@@ -0,0 +1,21 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% if apt_distribution_release == "sid" %}
|
||||
Types: deb
|
||||
URIs: https://deb.debian.org/debian
|
||||
Suites: {{ apt_distribution_release }} {{ apt_distribution_release }}-updates {{ apt_distribution_release }}-backports
|
||||
Components: {{ apt_distribution_sections }}
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
{% else %}
|
||||
Types: deb
|
||||
URIs: https://deb.debian.org/debian
|
||||
Suites: {{ apt_distribution_release }} {{ apt_distribution_release }}-updates {{ apt_distribution_release }}-backports
|
||||
Components: {{ apt_distribution_sections }}
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
|
||||
Types: deb
|
||||
URIs: http://security.debian.org/debian-security
|
||||
Suites: {{ apt_distribution_release }}-security
|
||||
Components: {{ apt_distribution_sections }}
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
{% endif %}
|
Reference in New Issue
Block a user