From e65df16f6782db76e3a6ade7df0edbf2f638f4c8 Mon Sep 17 00:00:00 2001 From: Frederick Witty Date: Thu, 8 Jan 2026 14:33:16 -0500 Subject: [PATCH] Update 3.1.1 Signed-off-by: Frederick Witty --- tasks/section_3/cis_3.1.x.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/section_3/cis_3.1.x.yml b/tasks/section_3/cis_3.1.x.yml index ff9ec46..7099e55 100644 --- a/tasks/section_3/cis_3.1.x.yml +++ b/tasks/section_3/cis_3.1.x.yml @@ -38,7 +38,8 @@ when: - "'kernel' in rhel9cis_ipv6_disable_method" - "'ipv6.disable=1' not in discovered_rhel9cis_3_1_1_ipv6_status.stdout" - ansible.builtin.shell: grubby --update-kernel=ALL --args="ipv6.disable=1" + ansible.builtin.command: grubby --update-kernel=ALL --args="ipv6.disable=1" + changed_when: discovered_rhel9cis_3_1_1_ipv6_status.rc == 0 - name: "3.1.2 | PATCH | Ensure wireless interfaces are disabled" when: