1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00
ansible_role_ntp/templates/ntp.conf.j2

22 lines
550 B
Text
Raw Normal View History

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 %}