forked from ansible-lockdown/RHEL9-CIS
updated
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
dc5f71d461
commit
8c79bfe7fb
25 changed files with 253 additions and 266 deletions
|
|
@ -7,16 +7,16 @@
|
|||
changed_when: false
|
||||
failed_when: false
|
||||
check_mode: no
|
||||
register: rhel8cis_2_4_services
|
||||
register: rhel9cis_2_4_services
|
||||
|
||||
- name: "2.4 | AUDIT | Ensure nonessential services are removed or masked | Display list of services"
|
||||
debug:
|
||||
msg:
|
||||
- "Alert! Below are the list of services, both active and inactive"
|
||||
- "Please review to make sure all are essential"
|
||||
- "{{ rhel8cis_2_4_services.stdout_lines }}"
|
||||
- "{{ rhel9cis_2_4_services.stdout_lines }}"
|
||||
when:
|
||||
- rhel8cis_rule_2_4
|
||||
- rhel9cis_rule_2_4
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue