mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
removed quotes not required
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
65207ed2cf
commit
73cf599e48
1 changed files with 3 additions and 3 deletions
|
|
@ -44,14 +44,14 @@
|
|||
- user_passwd
|
||||
- rule_5.3.4
|
||||
|
||||
- name: "Ensure root password is set"
|
||||
- name: Ensure root password is set
|
||||
block:
|
||||
- name: "Ensure root password is set"
|
||||
- name: Ensure root password is set
|
||||
ansible.builtin.shell: passwd -S root | grep "Password set, SHA512 crypt"
|
||||
changed_when: false
|
||||
register: root_passwd_set
|
||||
|
||||
- name: "Ensure root password is set"
|
||||
- name: Ensure root password is set
|
||||
ansible.builtin.assert:
|
||||
that: root_passwd_set.rc == 0
|
||||
fail_msg: "You have rule 5.6.6 enabled this requires that you have a root password set"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue