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 9184f49874
Update README and schedule
3 months ago
.github Update README and schedule 3 months ago
defaults use modern ansible name scheme and remove travis 3 months ago
handlers use modern ansible name scheme and remove travis 3 months ago
meta unknown package name for alpine 3 months ago
tasks add testing and improve linting 3 months ago
templates Update time 2 years ago
vars add testing and improve linting 3 months ago
.gitignore use modern ansible name scheme and remove travis 3 months ago
.yamllint add testing and improve linting 3 months ago
Gemfile add Gmefile and gitignore 3 years ago
LICENSE update meta infos 1 year ago
README.md Update README and schedule 3 months ago

README.md

Ansible role: ntp

This role provide a compliance for install ntp on your target host.

Requirements

This role was developed using Ansible 2.7 Backwards compatibility is not guaranteed.

Please have a look into the meta file for supportet platform overview!

Please note: It could need some fixes on exotic untested devices!

Role Variables

This role has multiple variables. The defaults for all these variables are the following:

---
# 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:
  - 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

Resources

ntp on ubuntu

Author Information

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

Testing

This role is using some github actions for testing. Because systemd operations inside docker containers do not work verry well only linting is tested. If you have a idea how to improve the testing please leave a comment, create a issue or even better open a pull request.

We use these actions for testing:

Status Marketplace
Ansible Lint check ansible-lint
Yamllint GitHub Actions yamllint-github-action
Galaxy release publish-ansible-role-to-galaxy