diff --git a/infra/station/chrony.yml b/infra/station/chrony.yml index c68df9cd2fa045caffd10a7e0edc2bc9cad34e24..37dd49521877e1cfb15cc8b0a3165c3d6ac2e960 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