From e6191de7edf4a8566c3dc283fa62faec1c284d8d Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 25 Jul 2022 13:26:29 +0100 Subject: [PATCH] fix logic in warning Signed-off-by: Mark Bolwell --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 62875c2..b42abf2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -184,6 +184,6 @@ - name: If Warnings found Output count and control IDs affected debug: msg: "You have {{ warn_count }} warning(s) that require investigating that are related to the following benchmark ID(s) {{ control_number }}" - when: warn_count > 0 + when: warn_count != 0 tags: - always