tidy up of variables and warning for bootloader password

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2026-02-05 20:28:52 +00:00
parent 9a3f458db0
commit 3442801399
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9
3 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@
tags: always
ansible.builtin.assert:
that: rhel9cis_bootloader_password_hash != 'grub.pbkdf2.sha512.changethispassword' or (rhel9cis_bootloader_salt != '' and rhel9cis_bootloader_password != 'password') # pragma: allowlist secret
msg: "This role will not be able to run single user password commands as rhel9cis_bootloader_password variable has not been set correctly"
msg: "This role will not be able to run single user password commands as rhel9cis_bootloader_password or rhel9cis_bootloader_password_hash variable has not been set correctly"
- name: "Check crypto-policy module input"
when: