Fix caddy container info delay
Give more time to docker to correctly bring up caddy in the swarm. Extended delay to retry to 10 seconds and gave it more retries as well, so that roughly a minute will be gone before the play gives up.
This commit is contained in:
parent
16767a2f44
commit
f4864c5da3
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,8 @@
|
|||
become: yes
|
||||
# bringing up the container takes some time, we have to wait
|
||||
until: caddy_container_info['rc'] == 0 and caddy_container_info['stdout'] | length >= 1
|
||||
retries: 5
|
||||
delay: 10
|
||||
changed_when: False
|
||||
register: caddy_container_info
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue