systemd-sysctl on Debian 13 does not read /etc/sysctl.conf, so the hardened values were lost on reboot. The role now applies the live values on their own, writes them to a drop-in under /etc/sysctl.d and removes its keys from /etc/sysctl.conf. Refs #510 Assisted-by: Claude Code:claude-opus-5-5
5 lines
207 B
Django/Jinja
5 lines
207 B
Django/Jinja
# Managed by Ansible (mortis.kamino.system_baseline, tasks/sysctl.yml). Do not edit: the next run overwrites it.
|
|
{% for name, value in __system_baseline_sysctl.items() %}
|
|
{{ name }}={{ value }}
|
|
{% endfor %}
|