Skip to content

Ansible role to configure Time settings on Linux Servers.

License

Notifications You must be signed in to change notification settings

mikepruett3/ansible-role-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: System Time

Ansible role to configure System Time settings on Linux Servers.

Requirements

The role does not require anyting to run on RHEL and its derivatives.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

ntp_servers:
  - 3.pool.ntp.org prefer trust
  - 2.pool.ntp.org
timezone: "America/Chicago"

ntp_servers (Required) List of NTP servers to use in the configuration file.

timezone (Required) Timezone to use when configuring the server.

Role variables can be stored with the hosts.yaml file, or in the main variables file.

Dependencies

None.

Example Playbook

    - hosts: servers
      roles:
         - role: mikepruett3.time

License

MIT

Author Information

Role created by mikepruett3 on Github.com

About

Ansible role to configure Time settings on Linux Servers.

Topics

Resources

License

Stars

Watchers

Forks