Fix support for bookworm

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:30 -04:00
parent 25ab984c9b
commit ed2fe7106e
2 changed files with 17 additions and 3 deletions

View File

@ -177,14 +177,14 @@
apt:
name:
- python
when: debian_codename == 'buster'
when: debian_version|int <= 10
tags: base-packages
- name: install common packages (bullseye)
- name: install common packages (bullseye+)
apt:
name:
- python-is-python3
when: debian_codename == 'bullseye'
when: debian_version|int >= 11
tags: base-packages
- name: install common packages (all versions)

View File

@ -0,0 +1,14 @@
# apt configuration: main sources list
# {{ ansible_managed }}
deb {{ debian_main_repository }} bookworm main contrib non-free
deb-src {{ debian_main_repository }} bookworm main contrib
deb {{ debian_security_repository }} bookworm-security main contrib
deb-src {{ debian_security_repository }} bookworm-security main contrib
deb {{ debian_main_repository }} bookworm-updates main contrib
deb-src {{ debian_main_repository }} bookworm-updates main contrib
deb {{ debian_pvc_repository }} bookworm pvc
deb-src {{ debian_pvc_repository }} bookworm pvc