rsyslog_#294 thanks to @alopezgcp

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2025-02-20 11:54:14 +00:00
parent 2078657ceb
commit d6a560b2c8
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9
5 changed files with 107 additions and 69 deletions

View file

@ -256,8 +256,8 @@
- name: "6.2.3.8 | PATCH | Ensure logrotate is configured | set rsyslog conf"
ansible.builtin.template:
src: etc/logrotate.d/rsyslog.conf.j2
dest: /etc/logrotate.d/rsyslog.conf
src: etc/logrotate.d/rsyslog_log.j2
dest: /etc/logrotate.d/rsyslog_log
owner: root
group: root
mode: 'g-wx,o-rwx'

View file

@ -5,6 +5,7 @@
file: cis_6.1.x.yml
- name: "SECTION | 6.2.1 | Configure systemd-journald service"
when: rhel9cis_syslog == 'journald'
ansible.builtin.import_tasks:
file: cis_6.2.1.x.yml