From bd13064bb9701d44b02efd7dabdd3361a6175b18 Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Thu, 26 Nov 2020 22:21:44 +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 6d44c2b..8556536 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -70,8 +70,8 @@ # - "output.ansible_facts['cryptpad-app']['cryptpad-app'].state.running" - name: "Test whether cryptpad is healthy from the outside" + when: not ansible_check_mode become: false - check_mode: no uri: url: "{{ cryptpad_http_unsafe_origin_url }}" return_content: yes