This role enables users to install and configure ntp on their hosts.
This role requires Ansible 2.4 or higher, and platform requirements are listed in the metadata file.
- Install ntp and set the default settings.
- hosts: all
roles:
- role: ntp
- Install ntp and set some custom servers.
- hosts: all
roles:
- role: ntp
ntp_config_server:
- 2.ubuntu.pool.ntp.org
- 1.ubuntu.pool.ntp.org
BSD