diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 14:40:44 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 14:40:44 +0100 |
commit | b02a8c40c76cb2e61c7a664ec156407101201a24 (patch) | |
tree | 0e046b783331db1bbba78bee75dbdac2e67e420a /roles/docker | |
parent | linting (diff) | |
download | maintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.tar.gz maintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.zip |
move tool existence conditionals to role common
Diffstat (limited to '')
-rw-r--r-- | roles/docker/tasks/main.yml | 7 |
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 |