From b5c57abc33f05e9cc6c829543f70755dcc87cb14 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 24 Jan 2023 10:23:39 +0000 Subject: [PATCH] removed congrats statement Signed-off-by: Mark Bolwell --- tasks/section_6/cis_6.2.x.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tasks/section_6/cis_6.2.x.yml b/tasks/section_6/cis_6.2.x.yml index 27c101d..ca4b892 100644 --- a/tasks/section_6/cis_6.2.x.yml +++ b/tasks/section_6/cis_6.2.x.yml @@ -53,11 +53,6 @@ check_mode: false register: rhel9cis_6_2_3_passwd_gid_check - - name: "6.2.3 | AUDIT | Ensure all groups in /etc/passwd exist in /etc/group | Print message that all groups match between passwd and group files" - ansible.builtin.debug: - msg: "Good News! There are no users that have non-existent GUIDs (Groups)" - when: rhel9cis_6_2_3_passwd_gid_check.stdout | length == 0 - - name: "6.2.3 | AUDIT | Ensure all groups in /etc/passwd exist in /etc/group | Print warning about users with invalid GIDs missing GID entries in /etc/group" ansible.builtin.debug: msg: "Warning!! The following users have non-existent GIDs (Groups): {{ rhel9cis_6_2_2_passwd_gid_check.stdout_lines | join (', ') }}"