Add Debian 13 (Trixie) support

This commit is contained in:
2025-08-11 21:37:25 +02:00
parent 905043baf3
commit 378d9a88c2
6 changed files with 62 additions and 12 deletions

View File

@@ -8,12 +8,12 @@
register: result
- name: Bootstrap Debian System
when: os | lower in ['debian11', 'debian12']
when: os | lower in ['debian11', 'debian12', 'debian13']
ansible.builtin.command: "{{ item }}"
changed_when: result.rc == 0
register: result
with_items:
- debootstrap --include={{ vars[os].base | join(',') }} {{ 'bullseye' if os == 'debian11' else 'bookworm' }}
- debootstrap --include={{ vars[os].base | join(',') }} {{ 'bullseye' if os == 'debian11' else 'bookworm' if os == 'debian12' else 'trixie' }}
/mnt http://deb.debian.org/debian/
- arch-chroot /mnt apt install -y {{ vars[os].extra | join(' ') }}
- arch-chroot /mnt apt remove -y libcups2 libavahi-common3 libavahi-common-data