ansible-infra/roles/apt_update_and_upgrade
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Max c28d7706a3
All checks were successful
/ build (pull_request) Successful in 30s
/ Ansible Lint (pull_request) Successful in 2m37s
/ cleanup-staging (pull_request) Successful in 23s
/ build (push) Successful in 32s
/ Ansible Lint (push) Successful in 2m31s
autoremove apt packages after upgrades
2026-10-31 16:27:51 +01:00
..
handlers reboot(role): intro. reboot role, which handles local conns. gracefully 2025-10-13 16:56:18 +02:00
tasks autoremove apt packages after upgrades 2026-10-31 16:27:51 +01:00
README.md autoremove apt packages after upgrades 2026-10-31 16:27:51 +01:00

Role apt_update_and_upgrade

This role does an apt-get update, apt-get dist-upgrade, apt-get autoremove and a potential reboot (if packages got upgraded) on the specified hosts.

hosts

The hosts for this role need to be the VMs, which should be updated and upgraded.

Required Variables

This role doesn't have any required variables.