From 03d42ba8ced44b8fe8e3f23b2d449753826c62b2 Mon Sep 17 00:00:00 2001 From: Danny Beuker Date: Mon, 22 Sep 2025 09:57:55 +0200 Subject: [PATCH] Suggestion for the missing assert parameter Signed-off-by: Danny Beuker --- tasks/pre_remediation_audit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/pre_remediation_audit.yml b/tasks/pre_remediation_audit.yml index 250f987..cf8d8c7 100644 --- a/tasks/pre_remediation_audit.yml +++ b/tasks/pre_remediation_audit.yml @@ -57,6 +57,7 @@ - name: Pre Audit Setup | If audit ensure goss is available when: not prelim_goss_available.stat.exists ansible.builtin.assert: + that: prelim_goss_available['stat']['exists'] == true 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