forked from ansible-lockdown/RHEL9-CIS
fix logic in warning
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
77a73ddcae
commit
e6191de7ed
1 changed files with 1 additions and 1 deletions
|
|
@ -184,6 +184,6 @@
|
||||||
- name: If Warnings found Output 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
|
when: warn_count != 0
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue