summaryrefslogtreecommitdiffstats
path: root/defaults
diff options
context:
space:
mode:
authorJeff Geerling <geerlingguy@mac.com>2016-12-27 11:43:29 -0600
committerJeff Geerling <geerlingguy@mac.com>2016-12-27 11:43:29 -0600
commit32308cacfb8356fa60f337a3eeb71aff5597b8ef (patch)
tree9ec51cc850eb96843eac3b3a1643efb226fa4e6d /defaults
parent8f217a49ff730b799e913aeeaa140cffd9fa7f25 (diff)
downloadntp-32308cacfb8356fa60f337a3eeb71aff5597b8ef.tar.gz
ntp-32308cacfb8356fa60f337a3eeb71aff5597b8ef.tar.bz2
ntp-32308cacfb8356fa60f337a3eeb71aff5597b8ef.tar.xz
ntp-32308cacfb8356fa60f337a3eeb71aff5597b8ef.zip
PR #21 Follow-up: document new vars, fix YAML formatting.
Diffstat (limited to 'defaults')
-rw-r--r--defaults/main.yml26
1 files changed, 10 insertions, 16 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 8d4c702..5d18cd7 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -3,22 +3,16 @@ 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 server area configuration (leave empty for 'Worldwide').
+# See: http://support.ntp.org/bin/view/Servers/NTPPoolServers
ntp_area: ''
ntp_servers:
- - 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
+ - "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
+ - "127.0.0.1"
+ - "::1"