mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
Initial
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
commit
a54b5216eb
87 changed files with 7693 additions and 0 deletions
43
tasks/section_2/cis_2.3.x.yml
Normal file
43
tasks/section_2/cis_2.3.x.yml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
|
||||
- name: "2.3.1 | L1 | PATCH | Ensure NIS Client is not installed"
|
||||
package:
|
||||
name: ypbind
|
||||
state: absent
|
||||
when:
|
||||
- not rhel9cis_ypbind_required
|
||||
- "'ypbind' in ansible_facts.packages"
|
||||
- rhel9cis_rule_2_3_1
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
- patch
|
||||
- rule_2.3.1
|
||||
|
||||
- name: "2.3.2 | L1 | PATCH | Ensure telnet client is not installed"
|
||||
package:
|
||||
name: telnet
|
||||
state: absent
|
||||
when:
|
||||
- not rhel9cis_telnet_required
|
||||
- "'telnet' in ansible_facts.packages"
|
||||
- rhel9cis_rule_2_3_2
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
- patch
|
||||
- rule_2.3.2
|
||||
|
||||
- name: "2.3.3 | L1 | PATCH | Ensure LDAP client is not installed"
|
||||
package:
|
||||
name: openldap-clients
|
||||
state: absent
|
||||
when:
|
||||
- not rhel9cis_openldap_clients_required
|
||||
- "'openldap-clients' in ansible_facts.packages"
|
||||
- rhel9cis_rule_2_3_3
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
- patch
|
||||
- rule_2.3.3
|
||||
Loading…
Add table
Add a link
Reference in a new issue