From df137fb9069a484b1d1834a15ccb1f5513f517f3 Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Sun, 29 Mar 2020 15:31:32 +0200 Subject: [PATCH] Improved outside health check --- tasks/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index cb25842..e19b6fb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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!'