kbrebanov.ntp
ntp
Installs and configures NTP.
Requirements
This role requires Ansible 1.9 or higher.
Role Variables
| Name | Default | Description |
|---|---|---|
| ntp_servers | [ "0.{{ ansible_distribution\ | lower }}.pool.ntp.org", "1.{{ ansible_distribution|lower }}.pool.ntp.org", "2.{{ ansible_distribution|lower }}.pool.ntp.org", "3.{{ ansible_distribution|lower }}.pool.ntp.org" ] |
Dependencies
None
Example Playbook
Install and configure NTP
- hosts: all
roles:
- kbrebanov.ntp
Install and configure NTP specifying a NTP server
- hosts: all
vars:
ntp_servers:
- 0.pool.ntp.org
roles:
- kbrebanov.ntp
License
BSD
Author Information
Kevin Brebanov
Install
ansible-galaxy install kbrebanov.ntpLicense
bsd-2-clause
Downloads
109
Owner
Nothing to see here. Move along.
