From 55c70592e8c94e1e6510c19189927db823cd8895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Tue, 2 Aug 2022 11:22:06 +0200
Subject: [PATCH] fix: remove cron config for ntp (this software is no longer
 in use)

---
 tasks/configure_ntp.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tasks/configure_ntp.yml b/tasks/configure_ntp.yml
index f344ec8..43c15d8 100644
--- a/tasks/configure_ntp.yml
+++ b/tasks/configure_ntp.yml
@@ -1,6 +1,8 @@
 ---
-# copy module modifies parent directory permissions, when file or directory is copied with owner and group different than root. It is also not idempotent and changes on subsequent runs.
 - name: configure NTP
   ansible.builtin.file:
-    path: "/etc/ntp.conf"
+    path: "{{ item }}"
     state: absent
+  loop:
+    - "/etc/cron.daily/ntp"
+    - "/etc/ntp.conf"
-- 
GitLab