From 0fb42180b63390313ecaad4d489581b006ecccf3 Mon Sep 17 00:00:00 2001 From: giuliandeplazes Date: Fri, 24 Feb 2023 12:13:52 +0100 Subject: [PATCH] fix: conditional statement in verify.yml --- molecule/default/verify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index e310cbd..fb21978 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -9,4 +9,4 @@ ansible.builtin.command: ufw status verbose register: out changed_when: false - failed_when: out is search("124/tcp ALLOW IN 123.123.123.123") + failed_when: out is not search("124/tcp ALLOW IN 123.123.123.123")