Ansible role for manage ntp on a large number of os
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.
L3D 8d330190c4
Merge pull request #5 from roles-ansible/tz
2 weeks ago
.github update github actions 8 months ago
defaults Optionally set timezone 2 weeks ago
handlers update ansible to use FQCN at more places 1 year ago
meta Update Linting 2 weeks ago
tasks Optionally set timezone 2 weeks ago
templates improve ntp readme 2 weeks ago
vars Optionally set timezone 2 weeks ago
.gitignore use modern ansible name scheme and remove travis 2 years ago
.yamllint add testing and improve linting 2 years ago
Gemfile add Gmefile and gitignore 4 years ago
LICENSE Remove trailing whitespaces from LICENSE 1 year ago improve ntp readme 2 weeks ago

Ansible Galaxy MIT License

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,
  - default nomodify notrap nopeer noquery
  - ::1

# Ntp server to use for date synchronization
# Default is worldwide pool
  - iburst
  - iburst
  - iburst
  - 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


ntp on ubuntu

Author Information

This role was created in 2018 by diodonfrost. This role was updated and maintained since 2019 by L3D (DO1JLR)


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.