From 42220233e45921292d09e1b825c34a74658c80ba Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 6 Mar 2022 20:13:20 +0300 Subject: [PATCH] Fix(roles/init-system/templates/sources.list): Recognize Debian 11 --- playbooks/roles/init-system/templates/sources.list | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/init-system/templates/sources.list b/playbooks/roles/init-system/templates/sources.list index aff17a1..94a138a 100644 --- a/playbooks/roles/init-system/templates/sources.list +++ b/playbooks/roles/init-system/templates/sources.list @@ -2,11 +2,12 @@ {% set debian_distr = 'stretch' %} {% elif ansible_facts.distribution_major_version == '10' %} {% set debian_distr = 'buster' %} +{% elif ansible_facts.distribution_major_version == '11' %} +{% set debian_distr = 'bullseye' %} {% endif %} deb {{ debian_mirror }} {{ debian_distr }} main contrib non-free deb {{ debian_mirror }} {{ debian_distr }}-updates main contrib non-free -#deb http://security.debian.org/debian-security bullseye-security main contrib non-free deb {{ debian_mirror }}-security {{ debian_distr }}-security main contrib non-free #deb {{ debian_mirror }} {{ debian_distr }}-backports main contrib non-free {% if inventory_hostname in ('localhost', 'iskra-aviel.phdru.name') %} -- 2.39.5