From 09f841b370bad8234d5e8a4f735f11be944eb6b7 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 4 Apr 2024 15:18:11 +0200
Subject: [PATCH] fix

---
 infra/station/chrony.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/infra/station/chrony.yml b/infra/station/chrony.yml
index c68df9cd2..37dd49521 100644
--- a/infra/station/chrony.yml
+++ b/infra/station/chrony.yml
@@ -1,7 +1,7 @@
 ---
 - name: setup chrony NTP server
   hosts: all
-  remote_user: root
+  #remote_user: root
   become: true
   become_user: root
   tasks:
@@ -16,3 +16,9 @@
       ansible.builtin.template:
         src: chrony/00-lofar.conf
         dest: /etc/chrony/conf.d/00-lofar.conf
+
+    - name: start chrony
+      ansible.builtin.service:
+        name: chrony
+        state: restarted
+        enabled: yes
-- 
GitLab