Skip to content

Commit

Permalink
rule 1.5.4 adds when condition package list to service action
Browse files Browse the repository at this point in the history
Signed-off-by: Dan D <[email protected]>
  • Loading branch information
dderemiah committed Oct 25, 2023
1 parent 3c93f63 commit f22748a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/section_1/cis_1.5.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
name: apport
state: stopped
enabled: false
when:
- "'apport' in ansible_facts.packages"

- name: "1.5.4 | PATCH | Ensure Automatic Error Reporting is not enabled | remove package"
ansible.builtin.package:
Expand Down

0 comments on commit f22748a

Please sign in to comment.