summaryrefslogtreecommitdiffstats
path: root/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'defaults/main.yml')
-rw-r--r--defaults/main.yml22
1 files changed, 18 insertions, 4 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index a84e911..8d4c702 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -3,8 +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