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 port: 443
delegate_to: localhost delegate_to: localhost
- name: "Testing whether the Jitsi homepage is available" - name: "Test whether Jitsi is healthy from the outside"
action: uri url=https://{{ jitsi_virtual_host }} return_content=yes become: false
uri:
url: https://{{ jitsi_virtual_host }}
return_content: yes
timeout: 300
validate_certs: no
register: url_check register: url_check
delegate_to: localhost
- fail: - fail:
msg: 'Jitsi homepage is not available!' msg: 'Jitsi homepage is not available!'