4
0
Fork 0

remove extra discovered_ prefix from variable

Signed-off-by: Christopher Papke <chris.papke@thalesgroup.com>
This commit is contained in:
Christopher Papke 2025-01-07 13:01:24 -08:00
parent f057484a7a
commit cc8e32fb2d
No known key found for this signature in database
GPG key ID: F0E2AE3AE922E9CF

View file

@ -143,8 +143,8 @@
- name: "5.3.2.5 | AUDIT | Ensure pam_unix module is enabled"
ansible.builtin.command: grep -P -- '\b(pam_unix\.so)\b' /etc/authselect/"$(head -1 /etc/authselect/authselect.conf)"/{system,password}-auth
changed_when: false
failed_when: discovered_discovered_authselect_pam_unix.rc not in [ 0, 1 ]
register: discovered_discovered_authselect_pam_unix
failed_when: discovered_authselect_pam_unix.rc not in [ 0, 1 ]
register: discovered_authselect_pam_unix
- name: "5.3.2.5 | PATCH | Ensure pam_unix module is enabled | system-auth"
when: "'system-auth:password' not in discovered_authselect_pam_unix.stdout"