summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inventory/host_vars/ch-epimetheus.yml2
-rw-r--r--roles/core/ntp/tasks/Debian_systemd-timesyncd.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index c088a137..1dd25f93 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -93,7 +93,7 @@ zfs_syncoid_sources:
exclude:
- '^storage/vm'
'ch-equinox-t450s':
- ssh_hostname: 192.168.28.103
+ ssh_hostname: 192.168.28.139
ssh_port: 222
paths:
storage:
diff --git a/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml b/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml
index 20a5f379..ebbe51b4 100644
--- a/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml
+++ b/roles/core/ntp/tasks/Debian_systemd-timesyncd.yml
@@ -1,4 +1,9 @@
---
+- name: make sure ntp_server is not defined
+ assert:
+ that: ntp_server is not defined
+ msg: "systemd-timesyncd can not be used as a NTP server"
+
- name: set ntp servers
when:
- ntp_client is defined