From 79e36d8736be52543d31948c68fda0169ff924f2 Mon Sep 17 00:00:00 2001 From: uk-bolly Date: Mon, 29 Apr 2024 16:40:53 +0100 Subject: [PATCH] updated assert statement (#204) Signed-off-by: Mark Bolwell --- tasks/pre_remediation_audit.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/pre_remediation_audit.yml b/tasks/pre_remediation_audit.yml index d0137e81..9777bd1d 100644 --- a/tasks/pre_remediation_audit.yml +++ b/tasks/pre_remediation_audit.yml @@ -63,9 +63,8 @@ register: goss_available - name: Pre Audit Setup | If audit ensure goss is available - when: - - not goss_available.stat.exists ansible.builtin.assert: + that: goss_available.stat.exists msg: "Audit has been selected: unable to find goss binary at {{ audit_bin }}" - name: Pre Audit Setup | Copy ansible default vars values to test audit