16 lines
331 B
YAML
16 lines
331 B
YAML
- name: Install additional packages
|
|
ansible.builtin.apt:
|
|
name: "{{ item }}"
|
|
state: latest
|
|
update_cache: yes
|
|
loop: "{{ packages }}"
|
|
- name: Upgrade all packages
|
|
ansible.builtin.apt:
|
|
name: "*"
|
|
state: latest
|
|
update_cache: yes
|
|
- name: Cleanup
|
|
ansible.builtin.apt:
|
|
autoclean: yes
|
|
autoremove: yes
|