Files
Julian Schacher 4b84472ac2 Add role for ensuring system is updated and potentially rebooted
The role also cleans up the local repository of retrieved package files
that can no longer be downloaded.
2023-11-24 12:59:42 +01:00

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