This role can be used for install and configure ntp daemon.
This role requires Ansible 1.2 or higher, and platform requirements are listed in the metadata file.
ntp_servers:
- "0.pool.ntp.org"
- "1.pool.ntp.org"
- "2.pool.ntp.org"
- "3.pool.ntp.org"
- hosts: servers
roles:
- { role: centos_ntp, time_zone: "Europe/Moscow", ntp_servers: [0.pool.ntp.org, 1.pool.ntp.org] }
MIT
Aleksey Demidov