incorporated PR 345 thanks to @thulium-drake

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2026-02-03 09:01:55 +00:00
parent c7567a98ac
commit 943b570484
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9
4 changed files with 85 additions and 14 deletions

View file

@ -13,7 +13,7 @@
- NIST800-53R5_AC-3
ansible.builtin.copy:
dest: /boot/grub2/user.cfg
content: "GRUB2_PASSWORD={{ rhel9cis_bootloader_password_hash }}" # noqa template-instead-of-copy
content: "GRUB2_PASSWORD={{ rhel9cis_bootloader_password_hash | default(rhel9cis_bootloader_password | grub_hash(salt=rhel9cis_bootloader_salt)) }}" # noqa template-instead-of-copy
owner: root
group: root
mode: 'go-rwx'