[EVO] Gérer Debian Sid
This commit is contained in:
parent
3a8a1b5ab6
commit
4762427866
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
- name: Déployer la configuration des sources
|
- name: Déployer la configuration des sources
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: sources.list.j2
|
src: "{{ apt_distribution_name }}-{{ apt_distribution_release }}.list.j2"
|
||||||
dest: /etc/apt/sources.list
|
dest: /etc/apt/sources.list
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
1
templates/debian-bullseye.list.j2
Symbolic link
1
templates/debian-bullseye.list.j2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
debian-stable.list.j2
|
3
templates/debian-sid.list.j2
Normal file
3
templates/debian-sid.list.j2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
|
deb http://deb.debian.org/debian {{ apt_distribution_release }} {{ apt_distribution_sections }}
|
6
templates/debian-stable.list.j2
Normal file
6
templates/debian-stable.list.j2
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
|
deb http://deb.debian.org/debian {{ apt_distribution_release }} {{ apt_distribution_sections }}
|
||||||
|
deb http://security.debian.org/debian-security {{ apt_distribution_release }}-security {{ apt_distribution_sections }}
|
||||||
|
deb http://deb.debian.org/debian {{ apt_distribution_release }}-updates {{ apt_distribution_sections }}
|
||||||
|
deb https://deb.debian.org/debian/ {{ apt_distribution_release }}-backports {{ apt_distribution_sections }}
|
@ -1,3 +0,0 @@
|
|||||||
# {{ ansible_managed }}
|
|
||||||
|
|
||||||
{{ apt_repositories[apt_distribution_name] }}
|
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
# vars file for apt
|
|
||||||
|
|
||||||
apt_repositories:
|
|
||||||
debian: |
|
|
||||||
deb http://deb.debian.org/debian {{ apt_distribution_release }} {{ apt_distribution_sections }}
|
|
||||||
deb http://security.debian.org/debian-security {{ apt_distribution_release }}-security {{ apt_distribution_sections }}
|
|
||||||
deb http://deb.debian.org/debian {{ apt_distribution_release }}-updates {{ apt_distribution_sections }}
|
|
||||||
deb https://deb.debian.org/debian/ {{ apt_distribution_release }}-backports {{ apt_distribution_sections }}
|
|
Loading…
Reference in New Issue
Block a user