From 420e036a5694a0e92a5251d111ca5c1f09379503 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Wed, 8 Apr 2026 13:58:06 +0100 Subject: [PATCH] updated pkg and mask logic Signed-off-by: Mark Bolwell --- tasks/section_6/cis_6.2.2.1.x.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/section_6/cis_6.2.2.1.x.yml b/tasks/section_6/cis_6.2.2.1.x.yml index dfb8350..87dd66e 100644 --- a/tasks/section_6/cis_6.2.2.1.x.yml +++ b/tasks/section_6/cis_6.2.2.1.x.yml @@ -72,8 +72,8 @@ - NIST800-53R5_AU-12 ansible.builtin.systemd: name: "{{ item }}" - state: "{{ ('systemd-journal-remote' in ansible_facts.packages) | ternary('stopped', omit) }}" - enabled: "{{ ('systemd-journal-remote' in ansible_facts.packages) | ternary(false, omit) }}" + state: "{{ ('systemd-journal-upload' in ansible_facts.packages) | ternary('stopped', omit) }}" + enabled: "{{ ('systemd-journal-upload' in ansible_facts.packages) | ternary(false, omit) }}" masked: true loop: - systemd-journal-remote.socket