From: Oleg Broytman Date: Sun, 6 Mar 2022 17:13:20 +0000 (+0300) Subject: Fix(roles/init-system/templates/sources.list): Recognize Debian 11 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=42220233e45921292d09e1b825c34a74658c80ba;p=ansible.git Fix(roles/init-system/templates/sources.list): Recognize Debian 11 --- 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') %}