galexrt.timezone

ansible-timezone

Build Status

Ansible role for setting/changing the timezone.

Requirements

No special requirements. The systems must be using timedatectl or /etc/localtime to configure time.

Role Variables

  • timezone - Set it to the wanted timezone.
  • timezone_use_local_rtc - When timedatectl is used, allows to set rtc.`

Dependencies

No dependencies.

Example Playbook

An example playbook on how to use this role:

- hosts: servers
  roles:
    - { role: galexrt.timezone, timezone: "UTC" }

License

MIT

Author Information

If you have problems with the role, feel free to create an issue on Github or contact me by mail.

About

Change server timezone with this Ansible module.

Install
ansible-galaxy install galexrt.timezone
GitHub repository
License
mit
Downloads
507
Owner
Senior Principal Kubernetes Architect at cargobay UG. @rook Maintainer. Sysadmin, Developer and Gamer with passion. Kubernetes, Container and Storage. CKA.