Adds a retry to the URL check whether ONLYOFFICE is available from the public internet
This commit is contained in:
parent
93ed8e709a
commit
11e8db9a38
1 changed files with 4 additions and 0 deletions
|
@ -56,8 +56,12 @@
|
||||||
become: false
|
become: false
|
||||||
uri:
|
uri:
|
||||||
url: https://{{ onlyoffice_virtual_host }}
|
url: https://{{ onlyoffice_virtual_host }}
|
||||||
|
return_content: yes
|
||||||
timeout: 300
|
timeout: 300
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
register: url_check
|
register: url_check
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
until: "'Document Server is running' in url_check.content"
|
||||||
|
retries: 5
|
||||||
|
delay: 10
|
||||||
tags: health
|
tags: health
|
||||||
|
|
Loading…
Add table
Reference in a new issue