Skip to content

Commit

Permalink
Merge pull request #283 from TeamSalvador/bugfix/280
Browse files Browse the repository at this point in the history
Fix for #280
  • Loading branch information
uk-bolly authored Apr 25, 2023
2 parents bdb215a + b2716bc commit 5bafd20
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 @@ -124,8 +124,11 @@
- name: "4.2.2.4 | PATCH | Ensure journald is configured to write logfiles to persistent disk"
ansible.builtin.lineinfile:
path: /etc/systemd/journald.conf
regexp: "^#Storage=|^Storage="
regexp: 'Storage='
line: Storage=persistent
state: present
insertafter: ^#Storage
validate: /usr/bin/bash -n %s
when:
- rhel8cis_rule_4_2_2_4
tags:
Expand Down

0 comments on commit 5bafd20

Please sign in to comment.