Skip to Content

Variable Reference

Scope

This page lists the named, semantically-meaningful variables each hardening profile exposes - the ones with real values to tune (paths, timeouts, policy strings, credentials), not simple on/off rule switches. See Key variables on the Configuration page for the most commonly-needed subset, and Individual rule toggles for the rhel_09_XXXXXX (STIG) and rhel9cis_rule_X_X_X (CIS) per-rule enable/disable pattern - those aren't repeated here since every one follows the same true/false convention already documented there.

Not every variable a role reads is listed here. If you need something not covered, check inventory/group_vars/all/ciq_defaults.yml in your scaffolded working directory (see Quick Start) or contact CIQ Support.

Common to every profile

VariableDefaultDescription
ciq_allow_reboottrueAllow automatic reboot after hardening
ciq_run_audittrue (false for RLC-H only)Run a compliance audit before/after hardening
ciq_post_reboot_delay30Seconds to wait after triggering reboot before reconnecting
ciq_reboot_timeout600Seconds to wait for the target to come back after reboot
ciq_enable_lkrgtrueEnable Linux Kernel Runtime Guard
ciq_enable_hardened_malloctrueEnable the hardened memory allocator
ciq_enable_rlch_hardeningtrueEnable RLC-H package install, control utility restrictions, and password-hashing algorithm enforcement. Distinct from ciq_enable_lkrg and ciq_enable_hardened_malloc above, which gate LKRG and hardened_malloc independently
ciq_run_rlchtrueGates only the CIQ meta-package (rlc-h) install step - see Framework selection
ciq_use_state_filesfalseEnable the experimental state-files feature (see Idempotency)
ciq_use_lts_reposfalseUse the Rocky Linux 9.6 LTS repo bundles instead of the rolling rlc-h-9 repos
enable_firewalldtrueEnable and configure firewalld
ciq_rlch_repos(list)RLC-H repository products to enable
ciq_depot_username / ciq_depot_token""Depot credentials - set via vault, required for package installation
grub2_password""GRUB bootloader password (plaintext in vault; hashed at runtime). Optional - the GRUB password control skips cleanly with a warning if unset, rather than failing
log_file/var/log/rlc-hardened-setup.logWrapper's own run log on the target
ciq_audit_output_dir/var/log/ciq-lockdownWhere audit reports are written on the target

Profile-specific variables

DISA STIGCIS BenchmarkCUI / OSPPRLC-H only

rlch9_stig

VariableDefaultDescription
rhel9stig_cat1_patchtrueApply Category I (High) controls
rhel9stig_cat2_patchtrueApply Category II (Medium) controls
rhel9stig_cat3_patchtrueApply Category III (Low) controls
ciq_dod_bannertrueDisplay the DoD login banner
ciq_fail_delay4Seconds delayed after a failed login attempt
ciq_password_max_age60Maximum password age in days
ciq_password_min_age1Minimum password age in days
ciq_ptrace_scope3Kernel ptrace_scope restriction level
ciq_set_password_agingtrueEnforce password aging (max/min age, warn age)
ciq_root_mail_alias""Local user or relay address that receives root's system mail
ciq_grub_admin_username"bootadmin"Sets grub2_username's default for this profile - the account name STIG's bootloader task actually reads
grub2_username"{{ ciq_grub_admin_username }}"GRUB superuser account name STIG's bootloader task reads directly
var_authselect_profilesssdAuthselect profile name STIG expects

rlch9_cis

VariableDefaultDescription
rhel9cis_servertrueServer profile (vs workstation)
rhel9cis_pass_max_days45Maximum password age in days
rhel9cis_pass_min_days2Minimum password age in days
rhel9cis_pass_warn_age7Password expiry warning period in days
rhel9cis_authselect_custom_profile_namerlch9-hardenedName of the custom authselect profile CIS creates
rhel9cis_set_boot_passfalseEffective default (ciq_defaults.yml overrides the role's own default) - leave off. The upstream role's built-in boot-password task checks different variable names than this one sets and hard-fails if enabled; the real GRUB password mechanism is ciq_gap_cis's task, driven by grub2_password (see Bootloader password)
rhel9cis_shell_timeout900Idle shell timeout in seconds
rhel9cis_umask"027"Default umask applied system-wide
rhel9cis_disruption_hightrueApply CIS rules considered potentially disruptive upstream (e.g. authselect profile changes)
rhel9cis_time_sync_server"0.rhel.pool.ntp.org,1.rhel.pool.ntp.org"NTP servers used for time sync validation
var_authselect_profilesssdAuthselect profile name CIS expects
var_password_hashing_algorithmSHA512Password hash algorithm (/etc/login.defs)
var_password_hashing_algorithm_pamsha512Password hash algorithm (PAM)
var_password_pam_minlen14Minimum password length
var_password_pam_minclass4Minimum character classes required in a password
var_password_pam_difok2Minimum characters that must differ from the previous password
var_password_pam_maxrepeat3Maximum consecutive repeated characters allowed
var_password_pam_dictcheck1Enable dictionary-word password check
var_password_pam_remember24Number of previous passwords remembered (reuse prevention)
var_selinux_stateenforcingSELinux mode
var_selinux_policy_nametargetedSELinux policy
var_system_crypto_policyDEFAULT:NO-SHA1System-wide crypto policy string
cis_banner_text"Authorized users only. All activity may be monitored and reported."Login banner text

rlch9_cui

VariableDefaultDescription
ciq_dod_bannerfalseNo DoD banner requirement under CUI/OSPP
ciq_install_fips_metatrueInstall the CIQ FIPS metapackage - CUI/OSPP requires FIPS
ciq_set_password_agingfalseNo password aging required under OSPP - faillock handles lockout instead
firewalld_sshd_zonepublicFirewalld zone applied to the SSH service
inactivity_timeout_value600Idle session timeout in seconds - OSPP/CUI requires 10 minutes
sshd_idle_timeout_value600SSH idle timeout in seconds
rhel9stig_cat1_patch / _cat2_patch / _cat3_patchtrueSTIG master switches - CUI runs all STIG categories to cover its OSPP rules
var_authselect_profilecustom/rlch9-hardenedAuthselect profile name CUI expects
var_accounts_passwords_pam_faillock_deny3Failed logins allowed before lockout
var_accounts_passwords_pam_faillock_fail_interval900Window (seconds) over which failed attempts count toward lockout
var_accounts_tmout600Idle shell timeout in seconds
var_auditd_admin_space_left_actionsingleAction when audit log disk space is critically low
var_logind_session_timeout10_minutessystemd-logind idle session timeout
var_password_pam_minlen15Minimum password length
var_password_pam_minclass4Minimum character classes required in a password
var_password_pam_difok8Minimum characters that must differ from the previous password
var_system_crypto_policy"fips"Plain FIPS crypto policy (not FIPS:STIG - CUI's requirement differs from STIG's)

rlch9_hardened - no DISA STIG or CIS Benchmark hardening, infrastructure hardening only.

VariableDefaultDescription
ciq_security_policy"HARDENED"Identifies this profile in audit output
ciq_enable_fipsfalseFIPS is off by default in this profile - the STIG and CUI profiles enable it