16 lines
327 B
YAML
16 lines
327 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:
|
|
autoremove: yes
|
|
purge: yes
|