From 9a113ea4a864ef40a287036ac82d5af2563be70c Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 30 Sep 2025 14:17:08 +0100 Subject: [PATCH] fix pre-commit var naming for authselect Signed-off-by: Mark Bolwell --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index da19416..6c5a3f3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -118,8 +118,8 @@ - name: "Check authselect profile is selected | Check current profile" ansible.builtin.command: authselect list changed_when: false - failed_when: prelim_authselect_current_profile.rc not in [ 0, 1 ] - register: prelim_authselect_current_profile + failed_when: prelim_authselect_profile_list.rc not in [ 0, 1 ] + register: prelim_authselect_profile_list - name: "Ensure root password is set" when: rhel9cis_rule_5_4_2_4