Ansible role for setting/changing the timezone.
No special requirements.
The systems must be using timedatectl
or /etc/localtime
to configure time.
timezone
- Set it to the wanted timezone.timezone_use_local_rtc
- When timedatectl is used, allows to set rtc.`
No dependencies.
An example playbook on how to use this role:
- hosts: servers
roles:
- { role: galexrt.timezone, timezone: "UTC" }
MIT
If you have problems with the role, feel free to create an issue on Github or contact me by mail.