Skip to content

Commit

Permalink
Adjusting rule-id value in subtasks-name within the task-block for ru…
Browse files Browse the repository at this point in the history
…le 4.2.1.2

Signed-off-by: Ionut Pruteanu <[email protected]>
  • Loading branch information
ipruteanu-sie committed Sep 21, 2023
1 parent 0f72f9d commit cd1c364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/section_4/cis_4.2.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
failed_when: false
register: ubtu22cis_4_2_1_2_status

- name: "4.2.2.2 | AUDIT | Ensure journald service is enabled | Alert on bad status"
- name: "4.2.1.2 | AUDIT | Ensure journald service is enabled | Alert on bad status"
ansible.builtin.debug:
msg:
- "Warning!! The status of systemd-journald should be static and it is not. Please investigate"
when: "'static' not in ubtu22cis_4_2_1_2_status.stdout"

- name: "4.2.2.2 | AUDIT | Ensure journald service is enabled | Warn Count"
- name: "4.2.1.2 | AUDIT | Ensure journald service is enabled | Warn Count"
ansible.builtin.import_tasks: warning_facts.yml
when: "'static' not in ubtu22cis_4_2_1_2_status.stdout"
vars:
Expand Down

0 comments on commit cd1c364

Please sign in to comment.