Adds a retry to the URL check whether Cryptpad is available from the public internet
This commit is contained in:
parent
0df71220f7
commit
54cc25004b
1 changed files with 5 additions and 0 deletions
|
@ -73,7 +73,12 @@
|
||||||
become: false
|
become: false
|
||||||
uri:
|
uri:
|
||||||
url: "{{ cryptpad_http_unsafe_origin_url }}"
|
url: "{{ cryptpad_http_unsafe_origin_url }}"
|
||||||
|
return_content: yes
|
||||||
timeout: 300
|
timeout: 300
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
|
register: url_check
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
until: "'CryptPad: Zero Knowledge' in url_check.content"
|
||||||
|
retries: 5
|
||||||
|
delay: 10
|
||||||
tags: health
|
tags: health
|
||||||
|
|
Loading…
Add table
Reference in a new issue