ansible-lockdown / RHEL7-STIG

Ansible role for Red Hat 7 STIG Baseline
MIT License
282 stars 144 forks source link

Capture current password state fails #422

Closed Sicnus closed 1 year ago

Sicnus commented 1 year ago

Describe the Issue While using devel branch trying to run site.yml and it is dying @ line 26 column 10 when trying to find {{ ansible_user }} variable.

Expected Behavior This wasn't expected :)

Additional Notes Please consult MrSteve for further details. :)

uk-bolly commented 1 year ago

This is dying in prelim in some circumstances. when the audit_log_file is not being used and started with a #. change required to the grep to capture all status grep -oP '^(#|)log_file\s=\s\K.?(?=\s$)' /etc/audit/auditd.conf

maybe look for a specific drive can be added and if not set then try to discover it using prelim.

uk-bolly commented 1 year ago

hi @Sicnus

I believe this has now been resolved. Please let us know if you are still seeing the problem.

thanks

uk-bolly

uk-bolly commented 1 year ago

closing this issue as stale