From 3df619860f2c99634120ae9e0f606fab119d108c Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Wed, 1 Apr 2020 21:29:15 +0200 Subject: [PATCH] Improved and simplified healthcheck. Use with `--tags health` to run. --- tasks/main.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index e19b6fb..2dc928d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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!'