[IP] Rebased and fixed conflicts.

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 f0e4768efd
commit c60167af3c
No known key found for this signature in database
GPG key ID: 95B7D43B702B3569

View file

@ -43,8 +43,8 @@
- "Below are the current custom profiles" - "Below are the current custom profiles"
- "{{ rhel9cis_5_4_2_profiles_faillock.stdout_lines }}" - "{{ 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'] }} {{ rhel9cis_authselect['options'] }}" ansible.builtin.shell: "authselect select custom/{{ rhel9cis_authselect['custom_profile_name'] }} with-faillock"
when: rhel9cis_authselect_custom_profile_select when: rhel9cis_authselect_custom_profile_select
- name: 5.4.2 | PATCH | Ensure authselect includes with-faillock | not auth select profile" - name: 5.4.2 | PATCH | Ensure authselect includes with-faillock | not auth select profile"