Add RHEL 9 CIS-inspired hardening playbook
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Apply CIS-inspired sysctl settings
|
||||
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 }}"
|
||||
Reference in New Issue
Block a user