From 11e8db9a38d3c494d27de1af69a648561786fe91 Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Sat, 2 May 2020 22:53:25 +0200 Subject: [PATCH] Adds a retry to the URL check whether ONLYOFFICE is available from the public internet --- tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index d4d51d8..aa8b40b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -56,8 +56,12 @@ become: false uri: url: https://{{ onlyoffice_virtual_host }} + return_content: yes timeout: 300 validate_certs: no register: url_check delegate_to: localhost + until: "'Document Server is running' in url_check.content" + retries: 5 + delay: 10 tags: health