From 77bfb923cfef75e4d41a4aa8465f0ed23fd57e6b Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 19 Jul 2024 08:31:54 +0100 Subject: [PATCH] fixed typo for issue 397 thanks to @dirkvdplas Signed-off-by: Mark Bolwell --- tasks/section_4/cis_4.4.2.x.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/section_4/cis_4.4.2.x.yml b/tasks/section_4/cis_4.4.2.x.yml index 08ef128..91ba6d3 100644 --- a/tasks/section_4/cis_4.4.2.x.yml +++ b/tasks/section_4/cis_4.4.2.x.yml @@ -73,7 +73,7 @@ ansible.builtin.shell: | grep -P -- '\bpam_pwquality\.so\b' /etc/pam.d/{password,system}-auth changed_when: false - failed_when: rhel8cis_pwquality_enabled.rc not in [ 0, 1 ] + failed_when: discovered_pwquality_enabled.rc not in [ 0, 1 ] register: discovered_pwquality_enabled - name: "4.4.2.3 | PATCH | Ensure pam_pwquality module is enabled | system-auth"