--- {{ if .Vars.ubtu24cis_level_1 }} {{ if .Vars.ubtu24cis_rule_2_1_3 }} {{ if not .Vars.ubtu24cis_dhcp_server }} {{ if not .Vars.ubtu24cis_dhcp_mask }} package: dhcp_pkg: title: 2.1.3 | Ensure dhcp server services are not in use | pkg removed name: isc-dhcp-server installed: false meta: server: 1 workstation: 1 CIS_ID: - 2.1.3 CISv8: - 4.8 CISv8_IG1: false CISv8_IG2: true CISv8_IG3: true NIST800-53R5: - CM-7 {{ end }} {{ if .Vars.ubtu24cis_dhcp_mask }} file: dhcp_service_masked: title: 2.1.3 | Ensure dhcp server services are not in use | masked path: /etc/systemd/system/isc-dhcp-server.service exists: true filetype: symlink linked-to: /dev/null meta: server: 1 workstation: 1 CIS_ID: - 2.1.3 CISv8: - 4.8 CISv8_IG1: false CISv8_IG2: true CISv8_IG3: true NIST800-53R5: - CM-7 dhcp6_service_masked: title: 2.1.3 | Ensure dhcp server services are not in use | masked path: /etc/systemd/system/isc-dhcp-server6.service exists: true filetype: symlink linked-to: /dev/null meta: server: 1 workstation: 1 CIS_ID: - 2.1.3 CISv8: - 4.8 CISv8_IG1: false CISv8_IG2: true CISv8_IG3: true NIST800-53R5: - CM-7 {{ end }} {{ end }} {{ end }} {{ end }}