This commit is contained in:
Jeffrey van Pelt 2025-12-03 21:36:45 +01:00 committed by GitHub
commit be8200c228
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 82 additions and 8 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'