[CLEAN] Prune all docker
This commit is contained in:
parent
fcd5694fa8
commit
49a6a3f712
3 changed files with 16 additions and 0 deletions
10
roles/clean/tasks/docker.yml
Normal file
10
roles/clean/tasks/docker.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
|
||||
- name: Prune everything
|
||||
community.docker.docker_prune:
|
||||
containers: true
|
||||
images: true
|
||||
networks: true
|
||||
volumes: true
|
||||
builder_cache: true
|
||||
become: yes
|
4
roles/clean/tasks/main.yml
Normal file
4
roles/clean/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
- ansible.builtin.import_tasks: docker.yml
|
||||
name: docker
|
Loading…
Add table
Add a link
Reference in a new issue