Install and setup chrony
NTP daemon
This role was created and tested for Ubuntu Bionic only.
ntp_servers
: list of ntp servers (fqdn's)ntp_pool
: pool of ntp servers , used when ntp_servers is emptyntp_auth
: (boolean) enable ntp authentication, symetric keysntp_keys
: list of keys for ntp_authntp_key_refernce
: key.id for clients
When authentication is enabled, client has only ntp_key_refernce
in the chrony.keys
file. Server (ansible_fqdn
are in ntp_servers
list) has all defined keys.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- chrony
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1744072
BSD
Tomasz Baczynski