4
0
Fork 0

updated 1.5.2 regexp as per #262

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2024-12-04 11:18:33 +00:00
parent 2ff1550a1f
commit 12432ee748
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9

View file

@ -18,7 +18,7 @@
- name: "1.5.2 | PATCH | Ensure core dump backtraces are disabled"
ansible.builtin.lineinfile:
path: /etc/systemd/coredump.conf
regexp: '^ProcessSizeMax\s*=\s*.*[1-9]$'
regexp: '^ProcessSizeMax\s*=\s*.*[1-9].*'
line: 'ProcessSizeMax=0'
when:
- rhel9cis_rule_1_5_2