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/defaults/main.yml

39 lines
867 B
YAML
Raw Normal View History

2018-12-28 10:49:24 +01:00
---
2018-12-28 15:10:34 +01:00
# defaults file for ansible-role-ntp
# Restrict acces on ntp server
# Default is: ::1, 127.0.0.1
ntp_restrict:
- default nomodify notrap nopeer noquery
- 127.0.0.1
- ::1
# Ntp server to use for date synchronization
# Default is worldwide pool
ntp_servers:
2019-06-05 15:38:18 +02:00
- ptbtime1.ptb.de
- ptbtime3.ptb.de
2018-12-28 15:10:34 +01:00
- 0.pool.ntp.org iburst
- 1.pool.ntp.org iburst
- 2.pool.ntp.org iburst
- 3.pool.ntp.org iburst
# Enable or disable ntp statistics
ntp_statistics: false
ntp_ntpstats_dir: '/var/log/ntpstats/'
ntp_statistics_overview:
- 'clockstats'
- 'peerstats'
- 'loopstats'
2019-05-17 16:27:44 +02:00
2022-11-16 23:48:04 +01:00
# optionally set timezone
ntp_set_time_zone: false
ntp_timezone: 'Europe/Berlin'
# Leap seconds definition provided by tzdata
ntp_leap: true
ntp_leapfile: '/usr/share/zoneinfo/leap-seconds.list'
# version check for this playbook (true is recomended)
submodules_versioncheck: false