diff options
author | Jeff Geerling <geerlingguy@mac.com> | 2016-03-03 22:45:52 -0600 |
---|---|---|
committer | Jeff Geerling <geerlingguy@mac.com> | 2016-03-03 22:45:52 -0600 |
commit | 9c0a3ce4ff0c8bc00dbb8497193c2fc5f015c5aa (patch) | |
tree | 103fd05671d52dfab54cb7c38d08a747bff057c6 /README.md | |
parent | 567078d7c3ac7190d6748f0cfcd535e82912a12b (diff) | |
download | ntp-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.md | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -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`*: |