Update eprep based tasks to grep/awk

Signed-off-by: Frederick Witty <frederickw@mindpointgroup.com>
This commit is contained in:
Frederick Witty 2025-06-12 12:42:44 -04:00
parent 1416780797
commit f40d17df92
No known key found for this signature in database
GPG key ID: D29987C25A47D813
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@
- rule_5.4.2.4
block:
- name: "Ensure root password is set"
ansible.builtin.shell: passwd -S root | egrep -e "(Password set, SHA512 crypt|Password locked)"
ansible.builtin.shell: passwd -S root | grep -E "(Password set, SHA512 crypt|Password locked)"
changed_when: false
register: prelim_root_passwd_set