https://github.com/thedumbtechguy/ansible-role-ntp
An ansible role to install and configure NTP
https://github.com/thedumbtechguy/ansible-role-ntp
Last synced: 4 months ago
JSON representation
An ansible role to install and configure NTP
- Host: GitHub
- URL: https://github.com/thedumbtechguy/ansible-role-ntp
- Owner: thedumbtechguy
- Created: 2017-04-21T15:43:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T18:33:21.000Z (about 9 years ago)
- Last Synced: 2026-02-15T06:24:24.509Z (4 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Role: ntp
An ansible role to install and configure ntp.
## Requirements
> This role has been tested on `Ubuntu 16.04` and `Ubuntu 16.10` only.
## Variables
- `ntp_timezone`: server timezone
- Default: `Africa/Accra`
- `ntp_servers`: list of ntp servers for quorum
- Default:
```yaml
- 0.pool.ntp.org
- 1.pool.ntp.org
```
## Usage Example
```yaml
- hosts: all
vars:
ntp_timezone: Africa/Accra
ntp_servers:
- 0.pool.ntp.org
- 1.pool.ntp.org
roles:
- thedumbtechguy.ntp
```
## License
MIT / BSD
## Author Information
This role was created by [TheDumbTechGuy](https://github.com/thedumbtechguy) ( [twitter](https://twitter.com/frostymarvelous) | [blog](https://thedumbtechguy.blogspot.com) | [galaxy](https://galaxy.ansible.com/thedumbtechguy/) )
## Credits