Improved and simplified healthcheck. Use with --tags health to run.

This commit is contained in:
Jan Beilicke 2020-04-01 21:29:15 +02:00
parent 44e1c6e2c5
commit 3df619860f

View file

@ -58,14 +58,6 @@
host: localhost
port: "{{ jitsi_exposed_http_port }}"
- name: "Waiting for Jitsi service (443/TLS) to become available"
become: false
wait_for:
# Use the FQDN here!
host: "{{ jitsi_virtual_host }}"
port: 443
delegate_to: localhost
- name: "Test whether Jitsi is healthy from the outside"
become: false
uri:
@ -75,6 +67,7 @@
validate_certs: no
register: url_check
delegate_to: localhost
tags: health
- fail:
msg: 'Jitsi homepage is not available!'