diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-07-29 17:02:33 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-07-29 17:02:33 +0200 |
commit | b51e99b4a62ac930ef6a5454092a090df2016c22 (patch) | |
tree | 49e31b5707fba0a89b7d27c6c51bd6f2329d3cc6 /roles/core/ntp/templates/chrony.conf.j2 | |
parent | update metrics server kubernetes addon (diff) |
core/ntp: add support for local option in chrony
Diffstat (limited to 'roles/core/ntp/templates/chrony.conf.j2')
-rw-r--r-- | roles/core/ntp/templates/chrony.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/core/ntp/templates/chrony.conf.j2 b/roles/core/ntp/templates/chrony.conf.j2 index e404da18..04571b74 100644 --- a/roles/core/ntp/templates/chrony.conf.j2 +++ b/roles/core/ntp/templates/chrony.conf.j2 @@ -47,6 +47,9 @@ allow {{ rule }} {% for rule in ntp_server.deny | default([]) %} deny {{ rule }} {% endfor %} +{% if 'local' in ntp_server %} +local {{ ntp_server.local }} +{% endif %} {% if 'bind' in ntp_server %} bindaddress {{ ntp_server.bind }} {% endif %} |