Skip to content

viniciusfs/ansible-role-ntp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role: NTP

Build Status

Installs and configures NTP client in CentOS/RHEL systems.

Role Variables

  • ntp_config_enabled:

    • Description: Enable service at boot time
    • Values: True | False
    • Default: True
  • ntp_config_servers:

    • Description: List of NTP servers to sync
    • Default: [ "0.pool.ntp.org", "1.pool.ntp.org", "2.pool.ntp.org" ]
  • ntp_config_timezone:

    • Description: Server time zone
    • Default: America/Sao_Paulo

Example Playbook

- hosts: servers
  roles:
    - { role: viniciusfs.ntp }

License

MIT

Author Information