ansible-hardening/releasenotes/notes/skip-sysctl-when-disabled-b32eca48df5b1437.yaml
Major Hayden f576f24591 Skip sysctl configs when enabled: no
The intended functionality for "enabled: no" on sysctl configurations
was to skip the config entirely and leave the variable unaltered.
However, setting "enabled: no" was causing the configuration to be
removed entirely.

This patch ensures that any sysctl variables with "enabled: no" are
skipped and left unaltered.

Closes-Bug: 1710490
Depends-On: I2607f295a924a2ec51920b5f2b27c34d5222e8ff
Change-Id: If9c8c008538b2ff631a714a8ffe16df9376dedf3
2017-08-22 13:53:39 +00:00

11 lines
374 B
YAML

---
fixes:
- |
The sysctl configuration task was not skipping configurations where
``enabled`` was set to ``no``. Instead, it was removing configurations
when ``enabled: no`` was set.
There is now a fix in place that ensures any sysctl configuration with
``enabled: no`` will be skipped and the configuration will be left
unaltered on the system.