Merge pull request #143 from siemens/siemens/feat/4.2.1.3conditionalAndSectionHeader

Siemens/feat/4.2.1.3conditional and section header
This commit is contained in:
uk-bolly 2023-12-21 08:40:41 +00:00 committed by GitHub
commit 6f8a95c73a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -35,7 +35,6 @@
notify: Restart rsyslog
when:
- rhel9cis_rule_4_2_1_3
- rhel9cis_syslog == "rsyslog"
tags:
- level1-server
- level1-workstation

View file

@ -18,7 +18,7 @@
ansible.builtin.import_tasks:
file: cis_4.1.4.x.yml
- name: "SECTION | 4.2 | Configure Logging"
- name: "SECTION | 4.2.1 | Configure rsyslog"
ansible.builtin.import_tasks:
file: cis_4.2.1.x.yml
when: rhel9cis_syslog == 'rsyslog'