mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
Thanks to @stwongst #125
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
0c0dde24db
commit
f0ebe395a5
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@
|
|||
- name: Ensure root password is set
|
||||
block:
|
||||
- name: Ensure root password is set
|
||||
ansible.builtin.shell: passwd -S root | grep "Password set, SHA512 crypt"
|
||||
ansible.builtin.shell: passwd -S root | egrep -e "(Password set, SHA512 crypt|Password locked)"
|
||||
changed_when: false
|
||||
register: root_passwd_set
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue