diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-25 14:20:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-25 14:20:50 +0300 |
commit | fb1f7c8665f91be0f18c1cd38ccbdd638a5e2aef (patch) | |
tree | a0b9f30389ea00a0ade0278de6866a18304714c5 | |
parent | workflows/run: tweak step names (diff) | |
download | maintenance-fb1f7c8665f91be0f18c1cd38ccbdd638a5e2aef.tar.gz maintenance-fb1f7c8665f91be0f18c1cd38ccbdd638a5e2aef.zip |
docker: fix Docker upgrade breakage
Diffstat (limited to '')
-rw-r--r-- | roles/docker/tasks/main.yml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index d278ccb..cae6465 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -6,12 +6,14 @@ - name: Clean up Docker data become: yes - community.docker.docker_prune: - containers: yes - images: yes - images_filters: - dangling: false - networks: yes - volumes: yes - builder_cache: yes + command: docker system prune -a -f --volumes + # Broken after a Docker upgrade: + #community.docker.docker_prune: + # containers: yes + # images: yes + # images_filters: + # dangling: false + # networks: yes + # volumes: yes + # builder_cache: yes when: docker_version.rc == 0 |