From de0a57525994b25bbefa892a46ea3955c35341ab Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 25 Jan 2023 12:03:30 +0100 Subject: linting --- roles/docker/tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'roles/docker') 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 -- cgit v1.2.3