[EVO] Gérer Debian Sid

This commit is contained in:
pulsar89.5 2023-09-21 14:54:10 +02:00
parent 3a8a1b5ab6
commit 4762427866
6 changed files with 11 additions and 13 deletions

View File

@ -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

View File

@ -0,0 +1 @@
debian-stable.list.j2

View File

@ -0,0 +1,3 @@
# {{ ansible_managed }}
deb http://deb.debian.org/debian {{ apt_distribution_release }} {{ apt_distribution_sections }}

View 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 }}

View File

@ -1,3 +0,0 @@
# {{ ansible_managed }}
{{ apt_repositories[apt_distribution_name] }}

View File

@ -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 }}