Installs NTP on Redhat Linux 6 (RHEL 6) and Redhat Linux 7 (RHEL 7) servers.
None.
Set the timezone for your server: ntp_timezone: America/New_York
Set the NTP Pool Area to use. Defaults to none, which uses the worldwide pool.
ntp_servers:
- "0{{ ntp_area }}.pool.ntp.org iburst"
- "1{{ ntp_area }}.pool.ntp.org iburst"
- "2{{ ntp_area }}.pool.ntp.org iburst"
- "3{{ ntp_area }}.pool.ntp.org iburst"
NTP pools:
AREA HOSTNAME
------------------------------------------------------
Worldwide pool.ntp.org
Asia asia.pool.ntp.org
Europe europe.pool.ntp.org
North America north-america.pool.ntp.org
Oceania aceania.pool.ntp.org
South America south-america.pool.ntp.org
None.
- hosts: all
roles:
- role: ntp
ntp_timezone: "{{ 'America/New_York' }}"
ntp_area: "{{ 'north-america' }}"
This role was created in 2018 by [Michael Ventarola]