Simple role to install ntp.
None
All variables are defined in defaults.
When set to true, just using the existing ntp.conf from the install and skip the configure step entirely. Defaults to false
Optionally overide the roles ntp.con.j2
A list of ntp servers. This defaults to the Centos ntp servers at ntp.org.
Restrict lines for ntp.conf. See defaults/main.yml for the default.
Sets local clock as a fall back server (stratum 12)
None
- hosts: servers
vars:
ntp_servers:
- foo.ntp.example.com
- bar.ntp.example.com
roles:
- biggsean.ntp
BSD, MIT