Skip to content

Commit

Permalink
Merge pull request #399 from ansible-lockdown/issue_397
Browse files Browse the repository at this point in the history
fixed typo for issue 397 thanks to @dirkvdplas
  • Loading branch information
uk-bolly authored Aug 12, 2024
2 parents 6c0a8e5 + 81eba78 commit e3bea9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/section_4/cis_4.4.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -138,7 +138,7 @@
ansible.builtin.shell: |
grep -P -- '\b(pam_unix\.so)\b' /etc/authselect/"$(head -1 /etc/authselect/authselect.conf)"/{system,password}-auth
changed_when: false
failed_when: rhel8cis_authselect_pam_unix.rc not in [ 0, 1 ]
failed_when: discovered_authselect_pam_unix.rc not in [ 0, 1 ]
register: discovered_authselect_pam_unix

- name: "4.4.2.5 | PATCH | Ensure pam_unix module is enabled | system-auth"
Expand Down

0 comments on commit e3bea9e

Please sign in to comment.