From b77dc8a0ec94285f2b8cbf7d04dcde890d2e915e Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 29 Apr 2024 08:59:34 +0100 Subject: [PATCH] updated assert for audit setup 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 d0137e8..9e18f48 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: not 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