diff options
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: |