Skip to content
Snippets Groups Projects
Commit 1e97a984 authored by ynerant's avatar ynerant Committed by ynerant
Browse files

[apt] Debian Security changed its naming convention since Bullseye


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 712b4210
1 merge request!260[apt] Debian Security changed its naming convention since Bullseye
{{ ansible_header | comment }}
{% if ansible_distribution == "Debian" %}
{% if ansible_distribution_release != "bullseye" %}
{# Debian security does not exist yet for bullseye #}
# Mises à jour de sécurité
{% if ansible_distribution_major_version|int < 11 %}
{# Debian security changed its naming convention in Bullseye #}
deb {{ debian_mirror }}-security {{ ansible_distribution_release }}/updates {{ debian_components }}
{% else %}
deb {{ debian_mirror }}-security {{ ansible_distribution_release }}-security {{ debian_components }}
{% endif %}
# Dépôt classique
deb {{ debian_mirror }} {{ ansible_distribution_release }} {{ debian_components }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment