From 69f453902fd465a2c0a92611fad8d931d07f2cea Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 26 Jul 2022 10:03:44 +0100 Subject: [PATCH] updated 1.6.1.2 Signed-off-by: Mark Bolwell --- tasks/section_1/cis_1.6.1.x.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/section_1/cis_1.6.1.x.yml b/tasks/section_1/cis_1.6.1.x.yml index f0ea11a..672316c 100644 --- a/tasks/section_1/cis_1.6.1.x.yml +++ b/tasks/section_1/cis_1.6.1.x.yml @@ -16,7 +16,7 @@ - name: "1.6.1.2 | PATCH | Ensure SELinux is not disabled in bootloader configuration" replace: dest: /etc/default/grub - regexp: '(selinux|enforcing)\s*=(\s0|0).*' + regexp: 'selinux=0' replace: '' register: selinux_grub_patch ignore_errors: yes