bullseye-security exists

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-11-10 11:39:40 +01:00
parent a1683dbf19
commit 4fe3babc83
3 changed files with 17 additions and 3 deletions

View File

@ -1,8 +1,9 @@
{{ ansible_header | comment }}
{% if ansible_distribution_release != "bullseye" %}
{# Debian security does not exist yet for bullseye #}
# Mises à jour de sécurité
{% if ansible_distribution_release == "bullseye" %}
deb {{ apt.mirror }}debian-security {{ ansible_distribution_release }}-security main contrib non-free
{% else %}
deb {{ apt.mirror }}debian-security {{ ansible_distribution_release }}/updates main contrib non-free
{% endif %}