arillso.system.timezone role – Manage timezone settings on various systems.

Note

This role is part of the arillso.system collection (version 0.0.34).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install arillso.system.

To use it in a playbook, specify: arillso.system.timezone.

Entry point main – Manage timezone settings on various systems.

Synopsis

  • This role configures timezone settings across different operating systems.

  • It handles the installation of necessary timezone packages and sets the desired timezone.

Parameters

Parameter

Comments

timezone_name

string

The name of the timezone to be set. Defaults to ‘Etc/UTC’.

Default: "Etc/UTC"

timezone_packages

list / elements=string

A list of packages required for timezone configuration, determined based on the target system’s distribution.

Default: ["tzdata"]