diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 12:03:30 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 12:03:30 +0100 |
commit | de0a57525994b25bbefa892a46ea3955c35341ab (patch) | |
tree | 2b88d1cea26871a3971c93024a2eb7c828523162 /roles/docker | |
parent | workflows/run: upgrade an action (diff) | |
download | maintenance-de0a57525994b25bbefa892a46ea3955c35341ab.tar.gz maintenance-de0a57525994b25bbefa892a46ea3955c35341ab.zip |
linting
Diffstat (limited to 'roles/docker')
-rw-r--r-- | roles/docker/tasks/main.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 71e13de..eddc811 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -1,19 +1,19 @@ - name: Check if Docker is installed command: docker --version register: docker_version - changed_when: no - failed_when: no + changed_when: false + failed_when: false - name: Clean up Docker data - become: yes + become: true command: docker system prune -a -f --volumes # Broken after a Docker upgrade: #community.docker.docker_prune: - # containers: yes - # images: yes + # containers: true + # images: true # images_filters: # dangling: false - # networks: yes - # volumes: yes - # builder_cache: yes + # networks: true + # volumes: true + # builder_cache: true when: docker_version.rc == 0 |