removed mask section u24 now removes time package not used automatically

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2025-01-10 09:03:01 +00:00
parent 3e92d4b54b
commit c129cf0552
No known key found for this signature in database
GPG Key ID: 997FF7FE93AEB5B9
1 changed files with 1 additions and 11 deletions

View File

@ -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