101 lines
1.7 KiB
Markdown
101 lines
1.7 KiB
Markdown
|
---
|
||
|
title: chrony
|
||
|
type: docs
|
||
|
---
|
||
|
|
||
|
[![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.chrony)
|
||
|
[![Build Status](https://img.shields.io/drone/build/ansible/xoxys.chrony?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.chrony)
|
||
|
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.chrony/src/branch/main/LICENSE)
|
||
|
|
||
|
Setup chrony NTP.
|
||
|
|
||
|
<!--more-->
|
||
|
|
||
|
- [Requirements](#requirements)
|
||
|
- [Default Variables](#default-variables)
|
||
|
- [chrony_allow](#chrony_allow)
|
||
|
- [chrony_log](#chrony_log)
|
||
|
- [chrony_logdir](#chrony_logdir)
|
||
|
- [chrony_ntsdumpdir](#chrony_ntsdumpdir)
|
||
|
- [chrony_pool](#chrony_pool)
|
||
|
- [chrony_port](#chrony_port)
|
||
|
- [chrony_server](#chrony_server)
|
||
|
- [Dependencies](#dependencies)
|
||
|
|
||
|
---
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
- Minimum Ansible version: `2.1`
|
||
|
|
||
|
|
||
|
## Default Variables
|
||
|
|
||
|
### chrony_allow
|
||
|
|
||
|
#### Default value
|
||
|
|
||
|
```YAML
|
||
|
chrony_allow: []
|
||
|
```
|
||
|
|
||
|
### chrony_log
|
||
|
|
||
|
#### Default value
|
||
|
|
||
|
```YAML
|
||
|
chrony_log:
|
||
|
- measurements
|
||
|
- statistics
|
||
|
- tracking
|
||
|
```
|
||
|
|
||
|
### chrony_logdir
|
||
|
|
||
|
#### Default value
|
||
|
|
||
|
```YAML
|
||
|
chrony_logdir: /var/log/chrony
|
||
|
```
|
||
|
|
||
|
### chrony_ntsdumpdir
|
||
|
|
||
|
#### Default value
|
||
|
|
||
|
```YAML
|
||
|
chrony_ntsdumpdir: /var/lib/chrony
|
||
|
```
|
||
|
|
||
|
### chrony_pool
|
||
|
|
||
|
#### Default value
|
||
|
|
||
|
```YAML
|
||
|
chrony_pool: 2.pool.ntp.org iburst
|
||
|
```
|
||
|
|
||
|
### chrony_port
|
||
|
|
||
|
The port option can be set to 0 to make chrony daemon to never open any listening port
|
||
|
for server operation and to operate strictly in a client-only mode.
|
||
|
|
||
|
#### Default value
|
||
|
|
||
|
```YAML
|
||
|
chrony_port: 0
|
||
|
```
|
||
|
|
||
|
### chrony_server
|
||
|
|
||
|
#### Default value
|
||
|
|
||
|
```YAML
|
||
|
chrony_server: []
|
||
|
```
|
||
|
|
||
|
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
None.
|