From e46ff63f8a2b45ec2dfa6d1f0cc3681121fb0747 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Wed, 26 Oct 2022 15:22:41 +0300 Subject: [PATCH] add failed when --- tasks/configure.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/configure.yml b/tasks/configure.yml index f0d03dd..78752be 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -14,6 +14,8 @@ MODE: native PORT: "{{ signal_api_port }}" #AUTO_RECEIVE_SCHEDULE: "0 22 * * *" + register: container + failed_when: container is None - name: Ensure UFW allow traffic to exposed port ufw: