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

improve ntp readme

This commit is contained in:
L3D 2022-11-17 00:02:19 +01:00
parent c3f9d46bf5
commit af3f9c4c91
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 8 additions and 14 deletions

View file

@ -32,6 +32,10 @@ ntp_servers:
- 2.pool.ntp.org iburst - 2.pool.ntp.org iburst
- 3.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 # Enable or disable ntp statistics
ntp_statistics: false ntp_statistics: false
@ -48,15 +52,5 @@ submodules_versioncheck: false
This role was created in 2018 by diodonfrost. This role was created in 2018 by diodonfrost.
This role was updated and maintained since 2019 by L3D *([DO1JLR](https://github.com/do1jlr))* This role was updated and maintained since 2019 by L3D *([DO1JLR](https://github.com/do1jlr))*
## Testing ## 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.
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](https://github.com/roles-ansible/ansible_role_ntp/actions/workflows/ansible-linting-check.yml/badge.svg)](https://github.com/roles-ansible/ansible_role_ntp/actions/workflows/ansible-linting-check.yml) | [ansible-lint](https://github.com/marketplace/actions/ansible-lint) |
| [![Yamllint GitHub Actions](https://github.com/roles-ansible/ansible_role_ntp/actions/workflows/yamllint.yaml/badge.svg)](https://github.com/roles-ansible/ansible_role_ntp/actions/workflows/yamllint.yaml) | [yamllint-github-action](https://github.com/marketplace/actions/yamllint-github-action) |
| [![Galaxy release](https://github.com/roles-ansible/ansible_role_ntp/actions/workflows/galaxy.yml/badge.svg)](https://github.com/roles-ansible/ansible_role_ntp/actions/workflows/galaxy.yml) | [publish-ansible-role-to-galaxy](https://github.com/marketplace/actions/publish-ansible-role-to-galaxy)

View file

@ -2,10 +2,10 @@
## ## ## ##
## THIS FILE IS MANAGED BY ANSIBLE ## ## THIS FILE IS MANAGED BY ANSIBLE ##
## ## ## ##
## It is about time ## ## It is about time ##
## ## ## ##
##################################### #####################################
# > galaxy.ansible.com/do1jlr/ntp < #
driftfile {{ ntp_driftfile }} driftfile {{ ntp_driftfile }}
{% for restrict_ip in ntp_restrict %} {% for restrict_ip in ntp_restrict %}