From rsyslog to jornald

fix for 3.3.7
Removed unneded 4.2.1.x
This commit is contained in:
root@DERVISHx 2023-10-04 18:07:07 +01:00
parent d4177e98f6
commit 63118b9b04
4 changed files with 26 additions and 16 deletions

View file

@ -214,19 +214,4 @@
- patch
- rsyslog
- rule_4.2.1.7
- name: "4.2.2.3/4 | PATCH | Ensure journald is configured to compress large log files into persistent storage."
ansible.builtin.template:
src: "etc/systemd/{{ item }}.j2"
dest: "/etc/systemd/{{ item }}"
owner: root
group: root
mode: '0644'
register: sysctl_updated
notify: Reload sysctl
loop:
- journald.conf
when:
- rhel9cis_sysctl_update
- not system_is_container
- "'procps-ng' in ansible_facts.packages"