You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 months ago | |
---|---|---|
.github | 12 months ago | |
defaults | 4 months ago | |
handlers | 2 years ago | |
meta | 4 months ago | |
tasks | 4 months ago | |
templates | 4 months ago | |
vars | 4 months ago | |
.gitignore | 2 years ago | |
.yamllint | 2 years ago | |
Gemfile | 4 years ago | |
LICENSE | 2 years ago | |
README.md | 4 months ago |
README.md
Ansible role ntp
Ansible role to install and configure the Network Time Protocol (NTP) Daemon.
This role was built with support for a variety of operating systems. Including Debian/Ubuntu, RHEL, Suse and Archlinux based Linux versions as well as FreeBSD, Darwin and OpenBSD.
Role Variables
In addition to the operating system-dependent variables, there are the following default values to adjust:
---
# defaults file for ansible-role-ntp
# 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:
- ptbtime1.ptb.de
- ptbtime3.ptb.de
- 0.pool.ntp.org iburst
- 1.pool.ntp.org iburst
- 2.pool.ntp.org iburst
- 3.pool.ntp.org iburst
# optionally set timezone
ntp_set_time_zone: false
ntp_timezone: 'Europe/Berlin'
# Enable or disable ntp statistics
ntp_statistics: false
# version check for this playbook (true is recomended)
submodules_versioncheck: false
Resources
Author Information
This role was created in 2018 by diodonfrost. This role was updated and maintained since 2019 by L3D (DO1JLR)
Contribution
Pleas feel free to open a issue or (even better) create a Pull Request if there is a problem or you missing a feature or something like that.