diff --git a/tasks/main.yml b/tasks/main.yml index a55063a..62875c2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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