summaryrefslogtreecommitdiff
path: root/roles/core/ntp/templates/chrony.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/core/ntp/templates/chrony.conf.j2')
-rw-r--r--roles/core/ntp/templates/chrony.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/core/ntp/templates/chrony.conf.j2 b/roles/core/ntp/templates/chrony.conf.j2
index 0bad9235..e404da18 100644
--- a/roles/core/ntp/templates/chrony.conf.j2
+++ b/roles/core/ntp/templates/chrony.conf.j2
@@ -47,10 +47,10 @@ allow {{ rule }}
{% for rule in ntp_server.deny | default([]) %}
deny {{ rule }}
{% endfor %}
-{% if 'bindaddress' in ntp_server %}
+{% if 'bind' in ntp_server %}
bindaddress {{ ntp_server.bind }}
{% endif %}
{% if 'port' in ntp_server %}
- port {{ ntp_server.port }}
+port {{ ntp_server.port }}
{% endif %}
{% endif %}