mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
Merge pull request #398 from trumbaut/fix_rule_3.2.1_reffering_to_cramfs
Update cis_3.2.x.yml (add dccp to blacklist instead of cramfs
This commit is contained in:
commit
c69fedcf0a
1 changed files with 2 additions and 2 deletions
|
|
@ -25,8 +25,8 @@
|
||||||
- name: "3.2.1 | PATCH | Ensure dccp kernel module is not available | blacklist"
|
- name: "3.2.1 | PATCH | Ensure dccp kernel module is not available | blacklist"
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/modprobe.d/blacklist.conf
|
path: /etc/modprobe.d/blacklist.conf
|
||||||
regexp: "^(#)?blacklist cramfs(\\s|$)"
|
regexp: "^(#)?blacklist dccp(\\s|$)"
|
||||||
line: "blacklist cramfs"
|
line: "blacklist dccp"
|
||||||
create: true
|
create: true
|
||||||
mode: 'u-x,go-rwx'
|
mode: 'u-x,go-rwx'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue