From 3a957045af258f8636a53941c0fe759cc940b793 Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Sat, 2 May 2020 22:37:53 +0200 Subject: [PATCH] Adds a retry to the URL check whether Jitsi is available from the public internet --- tasks/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 392bd87..8dafd47 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -90,12 +90,11 @@ validate_certs: no register: url_check delegate_to: localhost + until: "'Jitsi Meet' in url_check.content" + retries: 5 + delay: 10 tags: health -- fail: - msg: 'Jitsi homepage is not available!' - when: "'<title>Jitsi Meet' not in url_check.content" - - name: "Config: Set channelLastN" lineinfile: path: /home/{{ docker_user }}/jitsi/conf/web/config.js