aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/docker
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 14:40:44 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 14:40:44 +0100
commitb02a8c40c76cb2e61c7a664ec156407101201a24 (patch)
tree0e046b783331db1bbba78bee75dbdac2e67e420a /roles/docker
parentlinting (diff)
downloadmaintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.tar.gz
maintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.zip
move tool existence conditionals to role common
Diffstat (limited to 'roles/docker')
-rw-r--r--roles/docker/tasks/main.yml7
1 files changed, 0 insertions, 7 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index eddc811..e39d66f 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -1,9 +1,3 @@
-- name: Check if Docker is installed
- command: docker --version
- register: docker_version
- changed_when: false
- failed_when: false
-
- name: Clean up Docker data
become: true
command: docker system prune -a -f --volumes
@@ -16,4 +10,3 @@
# networks: true
# volumes: true
# builder_cache: true
- when: docker_version.rc == 0