From 5493464798f56f726ec20d93fbf12bf54a2bbbc9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 26 Jun 2023 13:25:29 +0300 Subject: [PATCH] Feat(init-system): Add Debian 12 "bookworm" --- playbooks/roles/init-system/templates/sources.list | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/playbooks/roles/init-system/templates/sources.list b/playbooks/roles/init-system/templates/sources.list index 94a138a..9061137 100644 --- a/playbooks/roles/init-system/templates/sources.list +++ b/playbooks/roles/init-system/templates/sources.list @@ -4,12 +4,15 @@ {% set debian_distr = 'buster' %} {% elif ansible_facts.distribution_major_version == '11' %} {% set debian_distr = 'bullseye' %} +{% elif ansible_facts.distribution_major_version == '12' %} +{% set debian_distr = 'bookworm' %} {% endif %} -deb {{ debian_mirror }} {{ debian_distr }} main contrib non-free -deb {{ debian_mirror }} {{ debian_distr }}-updates 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 +deb {{ debian_mirror }} {{ debian_distr }} main contrib non-free{% if ansible_facts.distribution_major_version == '12' %} non-free-firmware{% endif %} +deb {{ debian_mirror }} {{ debian_distr }}-updates main contrib non-free{% if ansible_facts.distribution_major_version == '12' %} non-free-firmware{% endif %} + +deb {{ debian_mirror }}-security {{ debian_distr }}-security main contrib non-free{% if ansible_facts.distribution_major_version == '12' %} non-free-firmware{% endif %} +#deb {{ debian_mirror }} {{ debian_distr }}-backports main contrib non-free{% if ansible_facts.distribution_major_version == '12' %} non-free-firmware{% endif %} {% if inventory_hostname in ('localhost', 'iskra-aviel.phdru.name') %} #deb {{ debian_mirror }}-multimedia {{ debian_distr }} main non-free -- 2.39.5