X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Finit-system%2Ftemplates%2Fsources.list;fp=playbooks%2Froles%2Finit-system%2Ftemplates%2Fsources.list;h=94a138a1cb981cb4262e3f4e9d6d5a7e5b9bd4fd;hb=42220233e45921292d09e1b825c34a74658c80ba;hp=aff17a1e8e3c7595c2112ea907096b8679370eb8;hpb=c5ce8b554c445b91f46e13aadec5ff1c8bb2360c;p=ansible.git 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') %}