From 373758dc042e61ae2f2815d7463a76ec6deb5b9d Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 9 Jul 2024 16:53:24 +0100 Subject: [PATCH] updated for summary output Signed-off-by: Mark Bolwell --- vars/audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/audit.yml b/vars/audit.yml index bb50f6d..d41ef37 100644 --- a/vars/audit.yml +++ b/vars/audit.yml @@ -34,7 +34,7 @@ audit_format: json audit_vars_path: "{{ audit_conf_dir }}/vars/{{ ansible_facts.hostname }}.yml" audit_results: | - The audit results are: {{ pre_audit_summary }} + The {% if not audit_only %}pre remediation{% endif %} audit results are: {{ pre_audit_summary }} {% if not audit_only %}The post remediation audit results are: {{ post_audit_summary }}{% endif %} Full breakdown can be found in {{ audit_log_dir }}