docker(role): move automatic cleanup of unused Docker data here
All checks were successful
/ Ansible Lint (push) Successful in 2m20s
All checks were successful
/ Ansible Lint (push) Successful in 2m20s
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.
This commit is contained in:
parent
0788fde69d
commit
2b5f261cd3
6 changed files with 53 additions and 8 deletions
4
roles/docker/handlers/main.yaml
Normal file
4
roles/docker/handlers/main.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
- name: systemd daemon reload
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reload: true
|
||||
become: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue