summaryrefslogtreecommitdiffstats
path: root/defaults/main.yml
diff options
context:
space:
mode:
authorchris <chris@scorpio-it.net>2016-12-27 00:33:08 +0100
committerchris <chris@scorpio-it.net>2016-12-27 00:33:08 +0100
commit711363133f2644f2a6b690827a71607da08c0655 (patch)
tree4cbbb53ee42f10ab2fbfdda12416c74642d99bfb /defaults/main.yml
parent9a60cf1fb1bfb591029d54f64d6f619a6786b7e6 (diff)
downloadntp-711363133f2644f2a6b690827a71607da08c0655.tar.gz
ntp-711363133f2644f2a6b690827a71607da08c0655.tar.bz2
ntp-711363133f2644f2a6b690827a71607da08c0655.tar.xz
ntp-711363133f2644f2a6b690827a71607da08c0655.zip
make ntp pool server 'area' based
Diffstat (limited to 'defaults/main.yml')
-rw-r--r--defaults/main.yml19
1 files changed, 15 insertions, 4 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 21d2b23..8d4c702 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -3,11 +3,22 @@ ntp_enabled: true
ntp_timezone: Etc/UTC
ntp_manage_config: false
+### choose ntp server area ###
+# http://support.ntp.org/bin/view/Servers/NTPPoolServers
+###
+# Leave empty for Worldwide Area
+# Worldwide: ''
+# Asia: '.asia'
+# Europe: '.europe'
+# North America: '.north-america'
+# Oceania: '.oceania'
+# South America: '.south-america'
+ntp_area: ''
ntp_servers:
- - 0.pool.ntp.org iburst
- - 1.pool.ntp.org iburst
- - 2.pool.ntp.org iburst
- - 3.pool.ntp.org iburst
+ - 0{{ ntp_area }}.pool.ntp.org iburst
+ - 1{{ ntp_area }}.pool.ntp.org iburst
+ - 2{{ ntp_area }}.pool.ntp.org iburst
+ - 3{{ ntp_area }}.pool.ntp.org iburst
ntp_restrict:
- 127.0.0.1
- ::1