Add initial support for trixie

This commit is contained in:
Anthony Rose 2025-01-17 09:31:42 +00:00
parent 5ad73691bf
commit c25b0ddaa9
3 changed files with 27 additions and 15 deletions

View file

@ -0,0 +1,11 @@
Types: deb deb-src
URIs: http://deb.debian.org/debian
Suites: trixie trixie-updates
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb deb-src
URIs: http://security.debian.org/debian-security
Suites: trixie-security
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

View file

@ -1,8 +0,0 @@
deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib
deb http://deb.debian.org/debian/ buster-updates main non-free contrib
deb-src http://deb.debian.org/debian/ buster-updates main non-free contrib
deb http://deb.debian.org/debian-security/ buster/updates main non-free contrib
deb-src http://deb.debian.org/debian-security/ buster/updates main non-free contrib

View file

@ -20,13 +20,6 @@
state: directory
mode: '0755'
- name: Set APT sources.list for Debian 10
become: true
ansible.builtin.copy:
src: sources.list.10
dest: "/etc/apt/sources.list"
when: ansible_distribution_release == "buster"
- name: Set APT sources.list for Debian 11
become: true
ansible.builtin.copy:
@ -50,6 +43,22 @@
create: yes
when: ansible_distribution_release == "bookworm"
- name: Set APT debian.sources for Debian 13
become: true
ansible.builtin.copy:
src: debian.sources.13
dest: "/etc/apt/sources.list.d/debian.sources"
when: ansible_distribution_release == "trixie"
- name: Empty /etc/apt/sources.list for Debian 13
become: true
ansible.builtin.lineinfile:
path: /etc/apt/sources.list
regexp: ".*"
state: absent
create: yes
when: ansible_distribution_release == "trixie"
- name: Update APT cache
become: true
ansible.builtin.apt: