add prune separately for manual run
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
d02b1ed916
commit
b6a2827f82
6
prune.yaml
Normal file
6
prune.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- name: "Prune all services"
|
||||||
|
hosts: commonupdate
|
||||||
|
roles:
|
||||||
|
- prune
|
||||||
|
...
|
@ -2,4 +2,5 @@
|
|||||||
collections:
|
collections:
|
||||||
- ansible.posix
|
- ansible.posix
|
||||||
- community.general
|
- community.general
|
||||||
|
- community.docker
|
||||||
...
|
...
|
||||||
|
9
roles/prune/tasks/main.yaml
Normal file
9
roles/prune/tasks/main.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- name: Prune everything
|
||||||
|
community.docker.docker_prune:
|
||||||
|
containers: true
|
||||||
|
images: true
|
||||||
|
networks: true
|
||||||
|
volumes: true
|
||||||
|
builder_cache: true
|
||||||
|
...
|
Loading…
Reference in New Issue
Block a user