Skip to content

OpenNetworkingFoundation/ansible-role-chrony

Repository files navigation

chrony

Chrony NTP server

Chrony website/documentation

Ubuntu Chrony docs

Requirements

Minimum ansible version: 2.9.5

Configuration

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.

Example Playbook

- 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

License and Author

© 2021 Open Networking Foundation [email protected]

License: Apache-2.0

About

Ansible role for installing Chrony NTP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published