Super Easy Role to set timezone and synchronize time with NTP server.
ntp_zone: GMT0
ntp_city:
- Change
ntp_zone
andntp_city
invars/
according to your needs. - [Optional] You may use same Parameters with global_vars file or with primary_vars file, ansible will overwrite role specified in vars file in that case.
- hosts: YOUR-HOST-OR-GROUP
roles:
- Ansible-Role-NTP
ansible-playbook playbook.yml
- If you are working with Large Devops/Administrators Team then plese consider using UTC timezone.
- Read More - http://yellerapp.com/posts/2015-01-12-the-worst-server-setup-you-can-make.html
MIT