Use the proper sub-task name when authselect custom profile is selected.

Signed-off-by: Ionut Pruteanu <ionut.pruteanu@siemens.com>
This commit is contained in:
Ionut Pruteanu 2024-01-17 19:19:22 +02:00
parent 85e2eb1264
commit 884377c529
No known key found for this signature in database
GPG key ID: 95B7D43B702B3569

View file

@ -43,7 +43,7 @@
- "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"
- 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