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:
parent
3e92d4b54b
commit
c129cf0552
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue