[os_hardening] Task for setting initramfs
modules does not match its condition
#590
Labels
initramfs
modules does not match its condition
#590
Describe the bug
The
os_hardening
role'ssysctl
task file contains a task called "Rebuild initramfs with starting pack of modules, if module loading at runtime is disabled". Whether module loading is enabled is controlled by theos_security_kernel_enable_module_loading
variable, which istrue
by default.As far as I can see, the task checks for the variable to be
true
in order to execute:If I'm not mistaken, this is either a case of the task name being incorrect or the condition not being negated, whichever is the intended behavior. But it's late, so I hope I'm not confusing things here. 🙂
Role Version
The text was updated successfully, but these errors were encountered: