From: Oleg Broytman Date: Tue, 11 Jul 2023 13:34:08 +0000 (+0300) Subject: Refactor(init-system/templates/sources.list) X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f156aa9f21a19804229d77ae83be1e9f585671e0;p=ansible.git Refactor(init-system/templates/sources.list) Reorder entries. Add empty lines. Remove unused VBox: I've switched back to Qemu. --- diff --git a/playbooks/roles/init-system/templates/sources.list b/playbooks/roles/init-system/templates/sources.list index 9061137..022c5af 100644 --- a/playbooks/roles/init-system/templates/sources.list +++ b/playbooks/roles/init-system/templates/sources.list @@ -7,17 +7,21 @@ {% elif ansible_facts.distribution_major_version == '12' %} {% set debian_distr = 'bookworm' %} {% endif %} - 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 + +deb {{ debian_mirror }}-multimedia {{ debian_distr }} main non-free #deb {{ debian_mirror }}-multimedia {{ debian_distr }}-backports main non-free +{% endif %} +{% if inventory_hostname == 'localhost' %} #deb https://deb.opera.com/opera/ stable non-free -#deb https://download.virtualbox.org/virtualbox/debian {{ debian_distr }} contrib non-free {% endif %}