2018-12-28 15:10:34 +01:00
|
|
|
#####################################
|
|
|
|
## ##
|
|
|
|
## THIS FILE IS MANAGED BY ANSIBLE ##
|
|
|
|
## ##
|
2019-06-05 15:38:18 +02:00
|
|
|
## It is about time ##
|
|
|
|
## ##
|
2018-12-28 15:10:34 +01:00
|
|
|
#####################################
|
|
|
|
|
|
|
|
driftfile {{ ntp_driftfile }}
|
|
|
|
|
2019-06-05 15:38:18 +02:00
|
|
|
{% for restrict_ip in ntp_restrict %}
|
2018-12-28 15:10:34 +01:00
|
|
|
restrict {{ restrict_ip }}
|
2019-06-05 15:38:18 +02:00
|
|
|
{% endfor %}
|
2018-12-28 15:10:34 +01:00
|
|
|
|
2019-06-05 15:38:18 +02:00
|
|
|
{% for pool_server in ntp_servers %}
|
2018-12-28 15:10:34 +01:00
|
|
|
server {{ pool_server }}
|
2019-06-05 15:38:18 +02:00
|
|
|
{% endfor %}
|
2018-12-28 15:10:34 +01:00
|
|
|
|
2019-06-05 15:38:18 +02:00
|
|
|
{% if ntp_statistics | bool %}
|
2018-12-28 15:10:34 +01:00
|
|
|
statistics clockstats cryptostats loopstats peerstats
|
2019-06-05 15:38:18 +02:00
|
|
|
{% endif %}
|