ansible_role_clock
Role Name
This is Ansible role for managing clock. It's chrony for Linux and ntp for Solaris.
The clock/time is managed based on (in this order):
- Host based conf
- Hosts group based conf
- Location
Role Variables
- Common vars:
time_mgmt
(default 'yes')
- The OS family vars:
time_pkg
, time_service
, time_cfg_file
, driftfile
- Host, hostgroup, location based vars:
timezone
, time_conf
Dependencies
None.
Example Playbook
See tests folder.
Author Information
ZD
License
Public domain. No ownership such as copyright, trademark, patent. No warranty.