Improved outside health check

This commit is contained in:
Jan Beilicke 2020-03-29 15:31:32 +02:00
parent 0bce0414a9
commit df137fb906

View file

@ -66,9 +66,15 @@
port: 443
delegate_to: localhost
- name: "Testing whether the Jitsi homepage is available"
action: uri url=https://{{ jitsi_virtual_host }} return_content=yes
- name: "Test whether Jitsi is healthy from the outside"
become: false
uri:
url: https://{{ jitsi_virtual_host }}
return_content: yes
timeout: 300
validate_certs: no
register: url_check
delegate_to: localhost
- fail:
msg: 'Jitsi homepage is not available!'