From cb047cacbd33fe0a0a2e14863a2bac08ba2e5ba7 Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Thu, 26 Nov 2020 22:19:18 +0000 Subject: [PATCH] Do not run a health check against the service while in check mode --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index aa8b40b..c61fd33 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -53,6 +53,7 @@ - "output.ansible_facts['onlyoffice-document-server']['onlyoffice-document-server'].state.running" - name: "Test whether the service is healthy from the public internet" + when: not ansible_check_mode become: false uri: url: https://{{ onlyoffice_virtual_host }}