Sys-svc-docker Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Installs and maintains Docker.
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
min_ansible_version: 2.9
platforms: [{‘name’: ‘Linux’, ‘versions’: [‘all’]}]
galaxy_tags: [‘docker’, ‘container’, ‘infrastructure’, ‘automation’, ‘cleanup’, ‘linux’, ‘system’]
repository: https://s.infinito.nexus/code
issue_tracker_url: https://s.infinito.nexus/issues
documentation: https://s.infinito.nexus/code/docker
README¶
Docker Server¶
Description¶
Overview¶
MODE_CLEANUP or MODE_RESET, it will
automatically prune unused Docker resources.MODE_RESET additionally restarts the Docker service after cleanup.Features¶
- Automated InstallationInstalls Docker and Docker Compose via the system package manager.
- Integrated DependenciesIncludes backup, repair, and health check sub-roles
Cleanup & Reset Modes
MODE_CLEANUP: Removes unused Docker containers, networks, images, and volumes.MODE_RESET: Performs cleanup and restarts the Docker service.
- Handler IntegrationRestart handler ensures the Docker daemon is reloaded when necessary.