Add initial support for trixie
This commit is contained in:
parent
5ad73691bf
commit
c25b0ddaa9
3 changed files with 27 additions and 15 deletions
11
roles/debian/files/debian.sources.13
Normal file
11
roles/debian/files/debian.sources.13
Normal 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
|
|
@ -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
|
|
|
@ -20,13 +20,6 @@
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
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
|
- name: Set APT sources.list for Debian 11
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
@ -50,6 +43,22 @@
|
||||||
create: yes
|
create: yes
|
||||||
when: ansible_distribution_release == "bookworm"
|
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
|
- name: Update APT cache
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|
Loading…
Reference in a new issue