Chrony NTP server
Minimum ansible version: 2.9.5
Add the NTP servers you want to use to the ntp_pools
list, with a count of
servers per pool.
Add a list of CIDR formatted IP ranges to ntp_client_allow
, and those systems
will be able to request time information from the server.
- hosts: all
vars:
ntp_pools:
- name: 0.pool.ntp.org
count: 1
- name: 1.pool.ntp.org
count: 1
- name: 2.pool.ntp.org
count: 1
- name: 3.pool.ntp.org
count: 1
ntp_client_allow:
- "10.0.0.1/24"
roles:
- chrony
© 2021 Open Networking Foundation [email protected]
License: Apache-2.0