Skip to content

Commit

Permalink
Make our "wait for docker" logic work in check mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Stacey committed Nov 10, 2016
1 parent ffe7ce6 commit 0202ba9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
- name: Wait until docker daemon is available
command: docker info
register: r_docker_info
until: r_docker_info.rc == 0
# need a special case here, or this always fails in check mode.
until: r_docker_info|skipped or r_docker_info.rc == 0
retries: "{{ docker_daemon_startup_timeout_sec }}"
delay: 1

Expand Down

0 comments on commit 0202ba9

Please sign in to comment.