Gabungkan repo iix dan repo magelang dalam satu roles
parent
e33bf2866d
commit
dfd9761f1b
|
@ -1,2 +1,4 @@
|
|||
---
|
||||
# defaults file for roles/aptsrc
|
||||
release: bullseye
|
||||
repo: iix
|
|
@ -1,8 +1,16 @@
|
|||
---
|
||||
# tasks file for roles/aptsrc
|
||||
# tasks file for roles/aptsrc iix
|
||||
- name: Change apt/source.list to repo Indonesia Kartolo
|
||||
template:
|
||||
src: templates/etc/apt/sources.list.j2
|
||||
src: templates/etc/apt/sources.list-iix.j2
|
||||
dest: /etc/apt/sources.list
|
||||
mode: 0644
|
||||
when: ansible_os_family == 'Debian'
|
||||
when: ansible_os_family == 'Debian' and repo == 'iix'
|
||||
|
||||
# tasks file for roles/aptsrc iix
|
||||
- name: Change apt/source.list to repo Magelang
|
||||
template:
|
||||
src: templates/etc/apt/sources.list-mgl.j2
|
||||
dest: /etc/apt/sources.list
|
||||
mode: 0644
|
||||
when: ansible_os_family == 'Debian' and repo == 'magelang'
|
|
@ -1,6 +1,10 @@
|
|||
{%- 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
|
||||
{% 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
|
||||
|
||||
{% 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
|
|
@ -0,0 +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
|
Loading…
Reference in New Issue