diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-22 21:54:14 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-22 21:54:14 +0200 |
commit | deb106e0405991deb9e110e9fe40e42283a991bc (patch) | |
tree | 8fe9ccca321e8adc216e8c2f4193832138766b62 /roles/core/ntp/tasks | |
parent | ch-sensors1 add new 1-wire therm sensor and fix regexp (diff) |
core/ntp: add support for ref-clocks
Diffstat (limited to 'roles/core/ntp/tasks')
-rw-r--r-- | roles/core/ntp/tasks/Debian_systemd-timesyncd.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml b/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml index ebbe51b4..ae8068b4 100644 --- a/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml +++ b/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml @@ -1,8 +1,10 @@ --- -- name: make sure ntp_server is not defined +- name: make sure ntp_server and ntp_refclocks is not defined assert: - that: ntp_server is not defined - msg: "systemd-timesyncd can not be used as a NTP server" + that: + - ntp_refclocks is not defined + - ntp_server is not defined + msg: "systemd-timesyncd can not be used as a NTP server or sync to local clocks" - name: set ntp servers when: |