summaryrefslogtreecommitdiffstats
path: root/README.md
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 /README.md
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 'README.md')
-rw-r--r--README.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index 2ff2920..d8e4bb0 100644
--- a/README.md
+++ b/README.md
@@ -24,14 +24,24 @@ Set the timezone for your server.
Set to true to allow this role to manage the NTP configuration file (`/etc/ntp.conf`).
+ ntp_area: ''
+
+Set the [NTP Pool Area](http://support.ntp.org/bin/view/Servers/NTPPoolServers) to use. Defaults to none, which uses the worldwide pool.
+
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"
Specify the NTP servers you'd like to use. Only takes effect if you allow this role to manage NTP's configuration, by setting `ntp_manage_config` to `true`.
+ ntp_restrict:
+ - "127.0.0.1"
+ - "::1"
+
+Restrict NTP access to these hosts; loopback only, by default.
+
## Dependencies
None.