Update template to use pool
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8404560d32
commit
20f9aede36
2 changed files with 18 additions and 5 deletions
|
|
@ -1,8 +1,17 @@
|
|||
# Use public servers from the pool.ntp.org project.
|
||||
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
|
||||
{% if chrony_ntpservers is defined or chrony_ntppools is defined %}
|
||||
{% if chrony_ntpservers is defined %}
|
||||
{% for ntpserver in chrony_ntpservers %}
|
||||
server {{ ntpserver }} iburst
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if chrony_ntppools is defined %}
|
||||
{% for ntppool in chrony_ntppools %}
|
||||
pool {{ ntppool }} iburst
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if chrony_clients is defined %}
|
||||
# Ignore stratum in source selection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue