mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-12 08:43:55 +02:00
add run-docker-prune command
This commit is contained in:
parent
898f319e11
commit
1a9cafa3a3
@ -11,3 +11,7 @@
|
|||||||
- import_tasks: "{{ role_path }}/tasks/dump_runtime_results.yml"
|
- import_tasks: "{{ role_path }}/tasks/dump_runtime_results.yml"
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
|
- import_tasks: "{{ role_path }}/tasks/run_docker_prune.yml"
|
||||||
|
tags:
|
||||||
|
- run-docker-prune
|
||||||
|
4
roles/matrix-common-after/tasks/run_docker_prune.yml
Normal file
4
roles/matrix-common-after/tasks/run_docker_prune.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Run Docker System Prune
|
||||||
|
command: "{{ matrix_host_command_docker }} system prune -a -f"
|
Loading…
Reference in New Issue
Block a user