Skip to content

Ansible role for installing and configuring NTP on Ubuntu

Notifications You must be signed in to change notification settings

bnugent/ansible-role-ntp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

This role installs and configures NTP client and server on Ubuntu.

Role Variables

  • ntp_client_pkg_name - Name of the NTP client package
  • ntp_client_pkg_state - NTP client package state
  • ntp_client_config_servers - List of NTP servers
  • ntp_client_service_name - NTP client service name
  • ntp_client_service_enabled - Enable or disable NTP client service on boot
  • ntp_client_service_state - NTP client service state

Dependencies

none

Example Playbook

- hosts: servers
  roles:
     - ntp

License

MIT

Author Information

Role created by Ben Nugent.

About

Ansible role for installing and configuring NTP on Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published