Skip to content

Super Easy Role to set timezone and synchronize time with NTP server.

License

Notifications You must be signed in to change notification settings

Rahulsharma0810/Ansible-Role-NTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-Role-NTP

Super Easy Role to set timezone and synchronize time with NTP server.

Role Variables

ntp_zone: GMT0
ntp_city:
  • Change ntp_zone and ntp_city in vars/ 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.

Example Playbook

    - hosts: YOUR-HOST-OR-GROUP
      roles:
    	- Ansible-Role-NTP

Deploying

  • ansible-playbook playbook.yml

Tip:

License

MIT

Author Information

Rahul Sharma

Github

Facebook

About

Super Easy Role to set timezone and synchronize time with NTP server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published