Skip to content

Commit

Permalink
fix: conditional statement in verify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliandeplazes committed Feb 24, 2023
1 parent d1d53a3 commit 0fb4218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 0fb4218

Please sign in to comment.