The role also cleans up the local repository of retrieved package files that can no longer be downloaded.
8 lines
231 B
YAML
8 lines
231 B
YAML
- name: Ensure the system is updated and no longer needed files are cleaned up
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
upgrade: dist
|
|
autoclean: true
|
|
become: true
|
|
notify: Reboot, if stuff changed, for good measure
|