21 lines
612 B
YAML
21 lines
612 B
YAML
- name: Add backports
|
|
ansible.builtin.apt_repository:
|
|
repo: deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
|
|
state: present
|
|
|
|
- name: Add backports src
|
|
ansible.builtin.apt_repository:
|
|
repo: deb-src http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
|
|
state: present
|
|
|
|
- name: Install packages
|
|
ansible.builtin.apt:
|
|
name: "{{ item }}"
|
|
state: present
|
|
install_recommends: false
|
|
loop: "{{ packages }}"
|
|
|
|
- name: Remove dependencies that are no longer required
|
|
ansible.builtin.apt:
|
|
autoremove: true
|