blob: 0c46ff115d0981a242d3308dd23e32f767e37bfb [file] [log] [blame]
Hyunsun Moone4848342020-02-16 04:28:55 -08001# Copyright 2020-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# {{ ansible_managed }}
16
17# For more information about this file, see the man pages
18# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).
19
20driftfile /var/lib/ntp/drift
21
22restrict 127.0.0.1
23restrict -6 ::1
24
25{% for i in ntp_servers %}
26server {{ i }}
27{% endfor %}