From a7b25ca73380306282676760049f67661a330055 Mon Sep 17 00:00:00 2001 From: Ronggo Radityo Date: Wed, 8 Mar 2023 08:48:47 +0700 Subject: [PATCH] Ubah awal untuk bookworm --- meta/main.yml | 1 + templates/etc/apt/sources.list-iix.j2 | 34 +++++++++++++-------------- templates/etc/apt/sources.list-mgl.j2 | 8 +++---- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index e27cad5..4155305 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -21,6 +21,7 @@ galaxy_info: - 9 - 10 - 11 + - 12 galaxy_tags: - linux diff --git a/templates/etc/apt/sources.list-iix.j2 b/templates/etc/apt/sources.list-iix.j2 index f46be45..4f028ef 100644 --- a/templates/etc/apt/sources.list-iix.j2 +++ b/templates/etc/apt/sources.list-iix.j2 @@ -1,23 +1,23 @@ -{%- if release=="bullseye" %} -deb http://security.debian.org/debian-security {{ release }}-security main contrib non-free -# deb-src http://security.debian.org/debian-security {{ release }}-security main contrib non-free +{%- if release in ["jessie", "stretch", "buster"] %} +deb http://security.debian.org/debian-security {{ release }}/updates main contrib non-free +# deb-src http://security.debian.org/debian-security {{ release }}/updates main contrib non-free {% else %} -deb http://security.debian.org/debian-security {{ release }}/updates main contrib non-free -# deb-src http://security.debian.org/debian-security {{ release }}/updates main contrib non-free +deb http://security.debian.org/debian-security {{ release }}-security main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +# deb-src http://security.debian.org/debian-security {{ release }}-security main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} {% endif %} -deb http://kartolo.sby.datautama.net.id/debian/ {{ release }} main non-free contrib -deb http://kartolo.sby.datautama.net.id/debian/ {{ release }}-updates main contrib non-free -deb http://kartolo.sby.datautama.net.id/debian/ {{ release }}-backports main contrib non-free +deb http://kartolo.sby.datautama.net.id/debian/ {{ release }} main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +deb http://kartolo.sby.datautama.net.id/debian/ {{ release }}-updates main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +deb http://kartolo.sby.datautama.net.id/debian/ {{ release }}-backports main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} -# deb http://mirror.unej.ac.id/debian/ {{ release }} main contrib non-free -# deb http://mirror.unej.ac.id/debian/ {{ release }}-updates main contrib non-free -# deb http://mirror.unej.ac.id/debian/ {{ release }}-backports main contrib non-free +# deb http://mirror.unej.ac.id/debian/ {{ release }} main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +# deb http://mirror.unej.ac.id/debian/ {{ release }}-updates main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +# deb http://mirror.unej.ac.id/debian/ {{ release }}-backports main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} -# deb http://kambing.ui.ac.id/debian/ {{ release }} main contrib non-free -# deb http://kambing.ui.ac.id/debian/ {{ release }}-updates main contrib non-free -# deb http://kambing.ui.ac.id/debian/ {{ release }}-backports main contrib non-free +# deb http://kambing.ui.ac.id/debian/ {{ release }} main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +# deb http://kambing.ui.ac.id/debian/ {{ release }}-updates main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +# deb http://kambing.ui.ac.id/debian/ {{ release }}-backports main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} -# deb-src http://kartolo.sby.datautama.net.id/debian/ {{ release }} main non-free contrib -# deb-src http://kartolo.sby.datautama.net.id/debian/ {{ release }}-updates main contrib non-free -# deb-src http://kartolo.sby.datautama.net.id/debian/ {{ release }}-backports main contrib non-free +# deb-src http://kartolo.sby.datautama.net.id/debian/ {{ release }} main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +# deb-src http://kartolo.sby.datautama.net.id/debian/ {{ release }}-updates main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} +# deb-src http://kartolo.sby.datautama.net.id/debian/ {{ release }}-backports main contrib non-free {%- if release=="bookworm" %} non-free-firmware{% endif %} diff --git a/templates/etc/apt/sources.list-mgl.j2 b/templates/etc/apt/sources.list-mgl.j2 index c3588de..1646a69 100644 --- a/templates/etc/apt/sources.list-mgl.j2 +++ b/templates/etc/apt/sources.list-mgl.j2 @@ -1,4 +1,4 @@ -deb http://gethuk.magelangkota.go.id/repo/debian {{ release }} main non-free contrib -deb http://gethuk.magelangkota.go.id/repo/debian-security {{ release }}{%- if release=="bullseye" %}-security{% else %}/updates{% endif %} main non-free contrib -deb http://gethuk.magelangkota.go.id/repo/debian {{ release }}-updates main non-free contrib -deb http://gethuk.magelangkota.go.id/repo/debian {{ release }}-backports main non-free contrib +deb http://gethuk.magelangkota.go.id/repo/debian {{ release }} main non-free contrib {%- if release=="bookworm" %} non-free-firmware{% endif %} +deb http://gethuk.magelangkota.go.id/repo/debian-security {{ release }}{%- if release in ["jessie", "stretch", "buster"] %}/updates{% else %}-security{% else %}{% endif %} main non-free contrib {%- if release=="bookworm" %} non-free-firmware{% endif %} +deb http://gethuk.magelangkota.go.id/repo/debian {{ release }}-updates main non-free contrib {%- if release=="bookworm" %} non-free-firmware{% endif %} +deb http://gethuk.magelangkota.go.id/repo/debian {{ release }}-backports main non-free contrib {%- if release=="bookworm" %} non-free-firmware{% endif %}