roquie.ansible-ntpdate
ansible-ntpdate
Ansible role for running ntpdate.
Requirements
No special requirements.
Role Variables
# default settings for ansible-ntpdate
ntpdate_enabled: true
# number of times to run ntpdate
ntpdate_runs: 3
# ntp server to use for ntpdate
ntpdate_server: "0.pool.ntp.org"
Dependencies
Include a list of other roles needed from Galaxy, along with any specific settings or variables needed for those roles.
Example Playbook
To use this role, include it in your playbook like this:
- hosts: servers
roles:
- { role: galexrt.ntpdate, ntpdate_run: true, ntpdate_runs: 5, ntpdate_server: "0.pool.ntp.org" }
License
MIT
Author Information
If you have any issues with the role, please create a problem on Github or email me.