ansible-infra/roles/docker/files/docker-cleanup.timer
June 2b5f261cd3
All checks were successful
/ Ansible Lint (push) Successful in 2m20s
docker(role): move automatic cleanup of unused Docker data here
Move the automatic cleanup of unused Docker data to the docker role from
the docker_compose role, so that hosts, which only use Docker (like
renovate) also have an automatic cleanup set up.
Also use a systemd timer instead of cron.
2026-03-06 21:09:47 +01:00

9 lines
138 B
SYSTEMD

[Unit]
Description=cleanup unused docker data every day
[Timer]
OnCalendar=daily
RandomizedDelaySec=1h
[Install]
WantedBy=timers.target