Adds a retry to the URL check whether Cryptpad is available from the public internet

This commit is contained in:
Jan Beilicke 2020-05-02 22:41:32 +02:00
parent 0df71220f7
commit 54cc25004b

View file

@ -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