diff --git a/roles/config-ntp/tasks/main.yaml b/roles/config-ntp/tasks/main.yaml index c071870..cecfd74 100644 --- a/roles/config-ntp/tasks/main.yaml +++ b/roles/config-ntp/tasks/main.yaml @@ -33,4 +33,9 @@ owner: root group: root mode: '0644' - notify: restart systemd-timesyncd \ No newline at end of file + notify: restart systemd-timesyncd +# service should start on boot. +- name: service should start on boot + service: + name: "{{ timesyncd_daemon }}" + enabled: yes \ No newline at end of file