diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-11-28 00:23:57 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-11-28 00:52:04 +0100 |
commit | f48418655de11512d54f596c516dbdb101f6d925 (patch) | |
tree | 7dc42fc9049823a468e8f0163c419ace7041b201 /roles/core/ntp/templates | |
parent | core/ntp role add systemd-timesyncd and openntpd (diff) |
core/ntp: add support for openbsd
Diffstat (limited to 'roles/core/ntp/templates')
-rw-r--r-- | roles/core/ntp/templates/openntpd.conf.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
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 %} |