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.
This commit is contained in:
Julian Schacher
2023-11-24 12:13:38 +01:00
parent a921224e56
commit 4b84472ac2
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# Reboot to apply potentially outstanding kernel updates and make sure all the
# latest versions of libraries are used.
- name: Reboot, if stuff changed, for good measure
ansible.builtin.reboot:
become: true