diff options
Diffstat (limited to 'roles/core/ntp/templates/chrony.conf.j2')
-rw-r--r-- | roles/core/ntp/templates/chrony.conf.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/core/ntp/templates/chrony.conf.j2 b/roles/core/ntp/templates/chrony.conf.j2 index 04571b74..00107914 100644 --- a/roles/core/ntp/templates/chrony.conf.j2 +++ b/roles/core/ntp/templates/chrony.conf.j2 @@ -13,6 +13,15 @@ makestep 1 3 hwtimestamp {{ interface.name }}{% if 'options' in interface %} {{ interface.options }}{% endif %}{{ '' }} {% endfor %} {% endif %} +{% if ntp_refclocks is defined %} + + +### Ref-Clocks + +{% for refclock in ntp_refclocks %} +refclock {{ refclock.type }} {{ refclock.device }}{% if 'options' in refclock %} {{ refclock.options }}{% endif %}{{ '' }} +{% endfor %} +{% endif %} {% if ntp_client is defined %} |