ganeti-ansible/roles/node/tasks/packages.yml

21 lines
612 B
YAML
Raw Permalink Normal View History

2024-11-26 14:56:58 +00:00
- 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