Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-04-05 10:24:47 +01:00
parent 4e873bc0d6
commit 13a6746997
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB
24 changed files with 104 additions and 107 deletions

View file

@ -65,7 +65,7 @@
- name: "2.2.5 | PATCH | Ensure DHCP Server is not installed"
package:
name: dhcp-server
state: absent
state: absent
when:
- not rhel9cis_dhcp_server
- "'dhcp-server' in ansible_facts.packages"
@ -113,7 +113,7 @@
- name: "2.2.8 | PATCH | Ensure VSFTP Server is not installed"
package:
name: vsftpd
state: absent
state: absent
when:
- not rhel9cis_vsftpd_server
- "'vsftpd' in ansible_facts.packages"
@ -222,7 +222,7 @@
- name: "2.2.13 | PATCH | Ensure HTTP Proxy Server is not installed"
package:
name: squid
state: absent
state: absent
when:
- not rhel9cis_squid_server
- "'squid' in ansible_facts.packages"

View file

@ -32,7 +32,7 @@
- rsh
- rule_2.3.2
- name: "2.3.3 | PATCH | Ensure talk client is not installed"
- name: "2.3.3 | PATCH | Ensure talk client is not installed"
package:
name: talk
state: absent

View file

@ -23,4 +23,4 @@
- manual
- audit
- services
- rule_2.4
- rule_2.4

View file

@ -10,4 +10,4 @@
import_tasks: cis_2.3.x.yml
- name: "SECTION | 2.4 | Nonessential services removed"
import_tasks: cis_2.4.yml
import_tasks: cis_2.4.yml