From b4eefdbdd3b2fd2d0d36d073dccabc66582b78a9 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 4 Apr 2022 15:14:24 +0100 Subject: [PATCH] 2.2.18 update Signed-off-by: Mark Bolwell --- tasks/section_2/cis_2.2.x.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/section_2/cis_2.2.x.yml b/tasks/section_2/cis_2.2.x.yml index be26428..31c5db7 100644 --- a/tasks/section_2/cis_2.2.x.yml +++ b/tasks/section_2/cis_2.2.x.yml @@ -317,6 +317,7 @@ systemd: name: nfs-server masked: true + state: stopped when: - not rhel9cis_use_nfs.server - rhel9cis_use_nfs.service @@ -348,6 +349,7 @@ systemd: name: rpcbind.socket masked: true + state: stopped when: - rhel9cis_use_rpc.server - not rhel9cis_use_rpc.service @@ -378,6 +380,7 @@ systemd: name: rsyncd masked: true + state: stopped when: - rhel9cis_use_rsync.server - not rhel9cis_use_rsync.service