mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-25 22:37:11 +00:00
tidied up comments to make it simpler
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
591f0d90f4
commit
2863be6c02
1 changed files with 19 additions and 9 deletions
|
|
@ -569,21 +569,31 @@ rhel9cis_selinux_enforce: enforcing
|
||||||
# This variable governs whether a bootloader password should be set in '/boot/grub2/user.cfg' file.
|
# This variable governs whether a bootloader password should be set in '/boot/grub2/user.cfg' file.
|
||||||
rhel9cis_set_boot_pass: false
|
rhel9cis_set_boot_pass: false
|
||||||
|
|
||||||
# 2 Options for setting the bootloader password
|
################### bootloader password #####################################
|
||||||
# 1. Set the bootloader password and salt - Reqiured the passlib python module available to the ansible controller
|
|
||||||
# or
|
|
||||||
# 2. Set the bootloader password hash
|
|
||||||
#
|
#
|
||||||
# Option 1: Set the bootloader password and salt - if salt is set, the password will be hashed using the salt
|
# Two options for for setting the bootloader password
|
||||||
# Set this value to anything secure to have predictable hashes, which will prevent unnecessary changes
|
#
|
||||||
|
# Option 1: Set the bootloader password and salt – requires the passlib Python module
|
||||||
|
# to be available on the Ansible controller.
|
||||||
|
# Set this value to something secure to have predictable hashes,
|
||||||
|
# which will prevent unnecessary changes.
|
||||||
|
|
||||||
rhel9cis_bootloader_salt: ''
|
rhel9cis_bootloader_salt: ''
|
||||||
# This variable will store the GRUB bootloader password to be stored in '/boot/grub2/user.cfg' file. The default value must be changed.
|
|
||||||
|
# This variable stores the GRUB bootloader password to be written
|
||||||
|
# to the '/boot/grub2/user.cfg' file. The default value must be changed.
|
||||||
|
|
||||||
rhel9cis_bootloader_password: 'password' # pragma: allowlist secret
|
rhel9cis_bootloader_password: 'password' # pragma: allowlist secret
|
||||||
|
|
||||||
# Option 2: Set the bootloader password hash - if the salt value is empty, the password will be set using below variable
|
# Option 2: Set the bootloader password hash – if the salt value is empty,
|
||||||
# If you are not using the bootloader hash filter you can set it here if the encrypted format e.g. grub.pbkdf2.sha512.hashstring
|
# the password will be set using the variable below.
|
||||||
|
# If you are not using the bootloader hash filter, you can set it here
|
||||||
|
# in encrypted format, e.g. grub.pbkdf2.sha512.hashstring
|
||||||
|
|
||||||
rhel9cis_bootloader_password_hash: 'grub.pbkdf2.sha512.changethispassword' # pragma: allowlist secret
|
rhel9cis_bootloader_password_hash: 'grub.pbkdf2.sha512.changethispassword' # pragma: allowlist secret
|
||||||
|
|
||||||
|
####################################################
|
||||||
|
|
||||||
## Controls 1.6.x and Controls 5.1.x
|
## Controls 1.6.x and Controls 5.1.x
|
||||||
# This variable governs if current Ansible role should manage system-wide crypto policy.
|
# This variable governs if current Ansible role should manage system-wide crypto policy.
|
||||||
rhel9cis_crypto_policy_ansiblemanaged: true
|
rhel9cis_crypto_policy_ansiblemanaged: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue