aboutsummaryrefslogtreecommitdiffstats
path: root/roles/chrony/README.md
blob: 082688f4c0596af8e37f28c665a40e71febfc168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Chrony
======

Description
-----------

The `chrony` role configures the [chrony](https://chrony.tuxfamily.org/) NTP
daemon.

Variables
---------

This role **accepts** the following variables:

Variable             | Default                  | Description
---------------------|--------------------------|------------
`chrony_ntp_servers` | `{{ vlan.ntp_servers }}` | List of upstream NTP servers

Usage
-----

Example playbook:

````yaml
- name: configure NTP
  hosts: all
  roles:
    - role: chrony
      vars:
        chrony_ntp_servers:
          - 0.north-america.pool.ntp.org
          - 1.north-america.pool.ntp.org
          - 2.north-america.pool.ntp.org
          - 3.north-america.pool.ntp.org
````