Files
community.general/plugins/modules
patchback[bot] dabdc16010 [PR #11685/909458a6 backport][stable-11] docs: improve timezone module examples and add hwclock usage (#11695)
docs: improve timezone module examples and add hwclock usage (#11685)

* docs: add variable-based example for timezone module

### Summary
Added a variable-based example to the EXAMPLES section of the timezone module.

### Changes
- Added an example demonstrating how to set timezone dynamically using a variable

### Motivation
Using variables is a common practice in Ansible playbooks. This example helps users understand how to make the module usage more flexible and reusable.

* docs: improve timezone module examples with hwclock usage

### Summary
Improved the EXAMPLES section of the timezone module by adding a more meaningful, module-specific example.

### Changes
- Added an example demonstrating usage of the `hwclock` parameter
- Simplified examples to avoid redundancy
- Fixed formatting issues causing CI failures (invalid YAML, lint errors)

### Motivation
The previous examples were minimal and did not demonstrate module-specific features. This update adds a more practical use case and ensures the examples follow proper formatting and validation rules.

(cherry picked from commit 909458a661)

Co-authored-by: Anshjeet Mahir <anshjeetmahir123@gmail.com>
2026-03-27 12:45:07 +01:00
..
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-31 12:47:19 +13:00
2024-12-31 12:47:19 +13:00
2024-12-29 13:42:22 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2025-01-06 21:31:59 +01:00
2024-12-26 09:12:05 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2024-12-26 13:41:54 +01:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2024-12-25 22:48:04 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2025-01-08 20:41:03 +01:00
2024-12-25 21:19:49 +01:00
2025-01-03 22:52:09 +01:00
2024-12-26 08:22:58 +01:00
2025-01-03 20:00:45 +01:00
2024-12-26 08:22:58 +01:00
2024-12-25 09:48:22 +01:00
2025-01-03 20:00:45 +01:00
2025-01-04 11:04:51 +01:00
2024-12-24 12:00:30 +01:00
2025-01-04 11:04:51 +01:00
2024-12-23 09:28:05 +01:00
2024-12-29 00:25:12 +01:00
2025-01-04 12:29:34 +13:00