mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-26 15:13:05 +00:00
tidy up warning message
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
28bbc2ff5f
commit
77a73ddcae
1 changed files with 2 additions and 1 deletions
|
|
@ -181,8 +181,9 @@
|
||||||
when:
|
when:
|
||||||
- run_audit
|
- run_audit
|
||||||
|
|
||||||
- name: Output Warning count and control IDs affected
|
- name: If Warnings found Output count and control IDs affected
|
||||||
debug:
|
debug:
|
||||||
msg: "You have {{ warn_count }} warning(s) that require investigating that are related to the following benchmark ID(s) {{ control_number }}"
|
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
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue