Files
portfolio/infra-run/ansible/roles/cis-rhel9-hardening/tasks/sysctl.yml
T

12 lines
301 B
YAML
Raw Normal View History

2026-05-06 08:45:33 +00:00
---
2026-05-08 21:18:22 +00:00
- name: Apply selected sysctl settings
2026-05-06 08:45:33 +00:00
ansible.posix.sysctl:
name: "{{ item.key }}"
value: "{{ item.value }}"
sysctl_file: "{{ cis_sysctl_config_file }}"
state: present
reload: true
loop: "{{ cis_sysctl_settings | dict2items }}"
loop_control:
label: "{{ item.key }}"