From 3a644bda7cb7e28b54ed6c88a8d676553da2b8f4 Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Thu, 26 Nov 2020 22:21:17 +0000 Subject: [PATCH] Do not run a health check against the service while in check mode --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 21a3f78..1ef8919 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -82,8 +82,8 @@ - "output.ansible_facts['web']['jitsi_web_1'].state.running" - name: "Test whether Jitsi is healthy from the outside" + when: not ansible_check_mode become: false - check_mode: no uri: url: https://{{ jitsi_virtual_host }} return_content: yes