tidy up warning message

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-07-25 11:28:50 +01:00
parent 28bbc2ff5f
commit 77a73ddcae
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

View file

@ -181,8 +181,9 @@
when:
- run_audit
- name: Output Warning count and control IDs affected
- name: If Warnings found Output count and control IDs affected
debug:
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:
- always