diff --git a/tasks/section_4/cis_4.2.1.x.yml b/tasks/section_4/cis_4.2.1.x.yml index 10e0ac2e..a3f2a444 100644 --- a/tasks/section_4/cis_4.2.1.x.yml +++ b/tasks/section_4/cis_4.2.1.x.yml @@ -35,7 +35,6 @@ notify: Restart rsyslog when: - rhel9cis_rule_4_2_1_3 - - rhel9cis_syslog == "rsyslog" tags: - level1-server - level1-workstation diff --git a/tasks/section_4/main.yml b/tasks/section_4/main.yml index db729af3..d3b6b8d7 100644 --- a/tasks/section_4/main.yml +++ b/tasks/section_4/main.yml @@ -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'