Skip to content

Commit

Permalink
Merge pull request #143 from siemens/siemens/feat/4.2.1.3conditionalA…
Browse files Browse the repository at this point in the history
…ndSectionHeader

Siemens/feat/4.2.1.3conditional and section header
  • Loading branch information
uk-bolly authored Dec 21, 2023
2 parents e545b89 + e0de491 commit 6f8a95c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tasks/section_4/cis_4.2.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
notify: Restart rsyslog
when:
- rhel9cis_rule_4_2_1_3
- rhel9cis_syslog == "rsyslog"
tags:
- level1-server
- level1-workstation
Expand Down
2 changes: 1 addition & 1 deletion tasks/section_4/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6f8a95c

Please sign in to comment.