From c129cf05520c9469df403d27ff6a2bbb7f92011c Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 10 Jan 2025 09:03:01 +0000 Subject: [PATCH] removed mask section u24 now removes time package not used automatically Signed-off-by: Mark Bolwell --- tasks/section_2/cis_2.3.1.x.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tasks/section_2/cis_2.3.1.x.yml b/tasks/section_2/cis_2.3.1.x.yml index 2037c96..6242dee 100644 --- a/tasks/section_2/cis_2.3.1.x.yml +++ b/tasks/section_2/cis_2.3.1.x.yml @@ -26,14 +26,4 @@ loop: - chrony - ntp - - - name: "2.3.1.1 | PATCH | Ensure a single time synchronization daemon is in use | mask service" - when: - - ubtu24cis_time_sync_tool != "systemd-timesyncd" - - "'systemd-timesyncd' in ansible_facts.packages" - ansible.builtin.service: - name: systemd-timesyncd - state: stopped - enabled: false - masked: true - daemon_reload: true + - systemd-timesyncd