1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00
ansible_role_ntp/README.md

55 lines
1.3 KiB
Markdown
Raw Normal View History

2019-03-04 17:38:29 +01:00
Ansible role: ntp
======================
2018-12-28 10:49:24 +01:00
2019-06-27 15:46:35 +02:00
[![Build Status](https://travis-ci.org/chaos-bodensee/role-ntp.svg?branch=master)](https://travis-ci.org/chaos-bodensee/role-ntp)
2018-12-28 10:49:24 +01:00
2019-01-28 16:15:51 +01:00
This role provide a compliance for install ntp on your target host.
2018-12-28 10:49:24 +01:00
2018-12-28 11:54:06 +01:00
## Requirements
2018-12-28 10:49:24 +01:00
2019-01-28 16:15:51 +01:00
This role was developed using Ansible 2.7 Backwards compatibility is not guaranteed.
2018-12-28 10:49:24 +01:00
2019-05-17 16:23:00 +02:00
```
2019-05-17 16:35:30 +02:00
Please have a look into the meta file for supportet platform overview!
Please note: It could need some fixes on exotic untested devices!
2018-12-28 11:54:06 +01:00
```
2018-12-28 10:49:24 +01:00
2019-05-17 16:35:30 +02:00
2018-12-28 11:54:06 +01:00
## Role Variables
2018-12-28 10:49:24 +01:00
2018-12-28 11:54:06 +01:00
This role has multiple variables. The defaults for all these variables are the following:
2018-12-28 10:49:24 +01:00
2018-12-28 11:54:06 +01:00
```yaml
---
# defaults file for ansible-role-ntp
2018-12-28 10:49:24 +01:00
2018-12-28 15:27:57 +01:00
# Restrict acces on ntp server
# Default is: ::1, 127.0.0.1
ntp_restrict:
- default nomodify notrap nopeer noquery
- 127.0.0.1
- ::1
# Ntp server to use for date synchronization
# Default is worldwide pool
ntp_servers:
- 0.pool.ntp.org iburst
- 1.pool.ntp.org iburst
- 2.pool.ntp.org iburst
- 3.pool.ntp.org iburst
# Enable or disable ntp statistics
# Default is false
ntp_statistics: false
2018-12-28 11:54:06 +01:00
```
2018-12-28 10:49:24 +01:00
2018-12-28 11:54:06 +01:00
## Resources
[ntp on ubuntu](https://doc.ubuntu-fr.org/ntp)
## Author Information
This role was created in 2018 by diodonfrost.
2020-01-16 17:05:12 +01:00
This role was updated in 2019 and 2020 by L3D *([DO1JLR](https://github.com/do1jlr))*