Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikepruett3/ansible-role-time
Ansible role to configure Time settings on Linux Servers.
https://github.com/mikepruett3/ansible-role-time
Last synced: about 1 month ago
JSON representation
Ansible role to configure Time settings on Linux Servers.
- Host: GitHub
- URL: https://github.com/mikepruett3/ansible-role-time
- Owner: mikepruett3
- License: mit
- Created: 2021-06-14T16:56:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T18:41:53.000Z (7 months ago)
- Last Synced: 2024-06-12T03:09:23.703Z (7 months ago)
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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```):
``` yaml
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
----------------``` yaml
- hosts: servers
roles:
- role: mikepruett3.time
```License
-------MIT
Author Information
------------------Role created by [mikepruett3](https://github.com/mikepruett3) on [Github.com](https://github.com/mikepruett3/ansible-role-time)