Go to file
Robert Kaussow 793fc9ae63
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
refctor: rework ci to ue ansible-lint and fix molecule
2024-08-19 16:06:01 +02:00
.woodpecker refctor: rework ci to ue ansible-lint and fix molecule 2024-08-19 16:06:01 +02:00
defaults [skip ci] fix refs to migrated repos 2020-09-27 23:24:18 +02:00
handlers ci: migrate to woodpecker 2024-02-18 21:18:02 +01:00
meta refctor: rework ci to ue ansible-lint and fix molecule 2024-08-19 16:06:01 +02:00
molecule/default refctor: rework ci to ue ansible-lint and fix molecule 2024-08-19 16:06:01 +02:00
tasks ci: migrate to woodpecker 2024-02-18 21:18:02 +01:00
templates/etc add quotes 2020-03-22 20:17:32 +01:00
.gitignore ci: migrate to woodpecker 2024-02-18 21:18:02 +01:00
.markdownlint.yml ci: migrate to woodpecker 2024-02-18 21:18:02 +01:00
.prettierignore ci: migrate to woodpecker 2024-02-18 21:18:02 +01:00
.yamllint refctor: rework ci to ue ansible-lint and fix molecule 2024-08-19 16:06:01 +02:00
LICENSE chore: end of the year maintenance [skip ci] 2021-12-21 10:45:09 +01:00
pyproject.toml ci: migrate to woodpecker 2024-02-18 21:18:02 +01:00
README.md [skip ci] automated docs update 2024-02-18 20:21:26 +00:00
requirements.yml refctor: rework ci to ue ansible-lint and fix molecule 2024-08-19 16:06:01 +02:00

xoxys.docker_tidy

Build Status License: MIT

Setup docker-tidy garbage collector. Keep docker hosts small.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

dockertidy_dangling_volumes

Remove dangling volumes.

Default value

dockertidy_dangling_volumes: false

dockertidy_docker_socket_path

Default value

dockertidy_docker_socket_path: /var/run/docker.sock

dockertidy_dry_run

Only log actions, don't cleanup anything.

Default value

dockertidy_dry_run: false

dockertidy_exclude_container_label

Never remove containers with this label key or label key=value.

dockertidy_exclude_container_labels

Default value

dockertidy_exclude_container_labels: []

dockertidy_exclude_image

Never remove images with this tag.

dockertidy_exclude_images

Default value

dockertidy_exclude_images: []

dockertidy_image

Docker image to use.

Default value

dockertidy_image: thegeeklab/docker-tidy:latest

dockertidy_interval

Interval for the systemd timer.

Default value

dockertidy_interval: daily

dockertidy_log_level

Current log level.

Default value

dockertidy_log_level: warning

dockertidy_max_container_age

Maximum age for a container, containers older than this age will be removed.

Default value

dockertidy_max_container_age: 5 days ago

dockertidy_max_image_age

Maxium age for an image, images older than this age will be removed.

Default value

dockertidy_max_image_age: 3 days ago

Dependencies

None.

License

MIT

Author

Robert Kaussow