Skip to content

Commit

Permalink
Ensure we can talk to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Nov 13, 2023
1 parent b8dd52c commit f7ae788
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
- name: Ensure docker is present
command: |
command -v docker
ignore_errors: true
register: check_docker
- name: Ensure we can talk to docker daemon
ansible.builtin.shell:
cmd: docker ps

- name: Setup OCI registry
block:
Expand Down Expand Up @@ -60,6 +58,3 @@
- name: Logout from registry
command: >-
{{ helm_binary_path }} registry logout localhost:{{ registry_port }}
when:
- check_docker.rc == 0

0 comments on commit f7ae788

Please sign in to comment.