From c60167af3ce1eb47f83b7c40d5f95c3c93477256 Mon Sep 17 00:00:00 2001 From: Ionut Pruteanu Date: Wed, 17 Jan 2024 19:19:22 +0200 Subject: [PATCH] [IP] Rebased and fixed conflicts. Use the proper sub-task name when authselect custom profile is selected. Signed-off-by: Ionut Pruteanu --- tasks/section_5/cis_5.4.x.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/section_5/cis_5.4.x.yml b/tasks/section_5/cis_5.4.x.yml index 69eb090..08973ae 100644 --- a/tasks/section_5/cis_5.4.x.yml +++ b/tasks/section_5/cis_5.4.x.yml @@ -43,8 +43,8 @@ - "Below are the current custom profiles" - "{{ rhel9cis_5_4_2_profiles_faillock.stdout_lines }}" - - name: "5.4.2 | PATCH | Ensure authselect includes with-faillock | Create custom profiles" - ansible.builtin.shell: "authselect select custom/{{ rhel9cis_authselect['custom_profile_name'] }} {{ rhel9cis_authselect['options'] }}" + - name: "5.4.2 | PATCH | Ensure authselect includes with-faillock | Select custom profile" + ansible.builtin.shell: "authselect select custom/{{ rhel9cis_authselect['custom_profile_name'] }} with-faillock" when: rhel9cis_authselect_custom_profile_select - name: 5.4.2 | PATCH | Ensure authselect includes with-faillock | not auth select profile"