
Maintenance role
Maintains operating system and disk space.
Usage
Configure the role.
maintenance: true # default: false
maintenance_job: true # default: falseAnd include it in your playbook.
- hosts: maintenance
roles:
- role: maintenanceDocs
Cleanup Docker system
Run this command to remove any unused containers, images, networks and caches.
docker system pruneThen run this command ro remove unattached volumes.
docker volume prune -a