summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJeff Geerling <geerlingguy@mac.com>2016-03-03 22:45:52 -0600
committerJeff Geerling <geerlingguy@mac.com>2016-03-03 22:45:52 -0600
commit9c0a3ce4ff0c8bc00dbb8497193c2fc5f015c5aa (patch)
tree103fd05671d52dfab54cb7c38d08a747bff057c6 /README.md
parent567078d7c3ac7190d6748f0cfcd535e82912a12b (diff)
downloadntp-9c0a3ce4ff0c8bc00dbb8497193c2fc5f015c5aa.tar.gz
ntp-9c0a3ce4ff0c8bc00dbb8497193c2fc5f015c5aa.tar.bz2
ntp-9c0a3ce4ff0c8bc00dbb8497193c2fc5f015c5aa.tar.xz
ntp-9c0a3ce4ff0c8bc00dbb8497193c2fc5f015c5aa.zip
NTP configuration cleanup and add documentation for new vars.
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/README.md b/README.md
index 49a459f..0a28255 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,17 @@ Whether to start the ntpd service and enable it at system boot. On many virtual
Set the timezone for your server.
+ ntp_manage_config: false
+
+Set to true to allow this role to manage the NTP configuration file (`/etc/ntp.conf`).
+
+ ntp_servers:
+ - 0.pool.ntp.org iburst
+ - 1.pool.ntp.org iburst
+ - 2.pool.ntp.org iburst
+ - 3.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`.
## Dependencies
@@ -27,11 +38,9 @@ None.
## Example Playbook
- - hosts: db-servers
- vars_files:
- - vars/main.yml
+ - hosts: all
roles:
- - { role: geerlingguy.ntp }
+ - geerlingguy.ntp
*Inside `vars/main.yml`*: