Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Apr 17, 2023
1 parent 77dc76d commit e389d74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/section_4/cis_4.2.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@
- name: "4.2.2.3 | PATCH | Ensure journald is configured to compress large log files"
ansible.builtin.lineinfile:
path: /etc/systemd/journald.conf
regexp: "^#Compress=|^Compress="
regexp: 'Compress='
line: Compress=yes
state: present
insertafter: ^#Compress
validate: /usr/bin/bash -n %s
when:
- rhel8cis_rule_4_2_2_3
tags:
Expand Down

0 comments on commit e389d74

Please sign in to comment.