From f48418655de11512d54f596c516dbdb101f6d925 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 28 Nov 2020 00:23:57 +0100 Subject: core/ntp: add support for openbsd --- roles/core/ntp/templates/openntpd.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/core/ntp/templates') diff --git a/roles/core/ntp/templates/openntpd.conf.j2 b/roles/core/ntp/templates/openntpd.conf.j2 index 09a6a9c3..3e2204f6 100644 --- a/roles/core/ntp/templates/openntpd.conf.j2 +++ b/roles/core/ntp/templates/openntpd.conf.j2 @@ -1,3 +1,4 @@ +{% if ntp_client is defined %} ### Client {% if 'servers' in ntp_client %} @@ -11,6 +12,7 @@ server {{ server.name }}{% if 'options' in server %} {{ server.options }}{% endi servers {{ pool.name }}{% if 'options' in pool %} {{ pool.options }}{% endif %}{{ '' }} {% endfor %} {% endif %} +{% endif %} {% if ntp_server is defined %} -- cgit v1.2.3