This role enables users to install and configure ntp on their hosts.
This role requires Ansible 1.4 or higher, and platform requirements are listed in the metadata file.
-
Install ntp and set the default settings.
- hosts: all
roles:
- role: ntp
- hosts: all
roles:
-
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]
- hosts: all
roles:
BSD
- Benno Joy
- René Moser