diff --git a/tasks/section_5/cis_5.6.x.yml b/tasks/section_5/cis_5.6.x.yml index 184345b..349095a 100644 --- a/tasks/section_5/cis_5.6.x.yml +++ b/tasks/section_5/cis_5.6.x.yml @@ -112,16 +112,8 @@ - rule_5.6.5 - name: "5.6.6 | PATCH | Ensure root password is set" - block: - - name: "5.6.6 | PATCH | Ensure root password is set" - ansible.builtin.shell: passwd -S root | grep "Password set, SHA512 crypt" - changed_when: false - register: root_passwd - - - name: "5.6.6 | PATCH | Ensure root password is set" - ansible.builtin.fail: - msg: The root password is not set - when: root_passwd.rc != 0 + ansible.builtin.debug: + msg: "The root password has been set as per the assert in early stages" when: - rhel9cis_rule_5_6_6 tags: