This role configures and manages the NTP daemon (ntpd).
This role has no additional requirements.
The following defaults variables can be configured:
# a list of ntp servers
ntp_servers:
- 0.pool.ntp.org
- 1.pool.ntp.org
- 2.pool.ntp.org
- 3.pool.ntp.org
# NTP clients that are allowed to query this server. If non-empty, this host is
# assumed to be an NTP server itself.
#
# Example:
#
#ntp_clients:
# - ip4addr: 1.2.3.0
# ip4mask: 255.255.255.0
# - ip4addr: 4.3.2.64
# ip4mask: 255.255.255.240
ntp_clients: []
For a list OS related variables that usually don't need to be customized have a look at the vars/ directory.
This role has no additional dependencies.
Below example shows how the role can be integrated into a playbook using external vars:
- hosts: servers
roles:
- { role: adfinis-sygroup.ntp }
ntp role was written by: