From 032c75924e0aba42a7e8b3a45e96651524fb1390 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Thu, 12 Feb 2026 09:49:52 +0000 Subject: [PATCH] Tidy up 5.3.2.1 Signed-off-by: Mark Bolwell --- tasks/section_5/cis_5.3.2.x.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/section_5/cis_5.3.2.x.yml b/tasks/section_5/cis_5.3.2.x.yml index 3a53026..755e737 100644 --- a/tasks/section_5/cis_5.3.2.x.yml +++ b/tasks/section_5/cis_5.3.2.x.yml @@ -14,9 +14,7 @@ - rule_5.3.2.1 block: - name: "5.3.2.1 | PATCH | Ensure active authselect profile includes pam modules | Create custom profiles" - when: - - rhel9cis_authselect_custom_profile_create - - rhel9cis_authselect_custom_profile_name not in prelim_authselect_profile_list.stdout + when: rhel9cis_authselect_custom_profile_name not in prelim_authselect_profile_list.stdout ansible.builtin.command: "/usr/bin/authselect create-profile {{ rhel9cis_authselect_custom_profile_name }} -b {{ rhel9cis_authselect_default_profile_to_copy }}" changed_when: false args: