11 lines
246 B
YAML
11 lines
246 B
YAML
- 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
|