1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-21 19:29:05 +00:00
community.general/plugins
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
..
action action/become/cache/callback: adjust import __future__ for Python3 (#9583) 2025-01-20 19:36:21 +01:00
become [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
cache [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
callback [PR #11656/4dad53ab backport][stable-11] counter_enabled callback: honor display_ok_hosts setting (#11666) 2026-03-23 20:34:32 +01:00
connection [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
doc_fragments [PR #10874/750adb43 backport][stable-11] pipx: adjustments for pipx 1.8.0 (#10876) 2025-10-05 07:23:57 +02:00
filter [PR #11369/20ba59cc backport][stable-11] Added "See Also" section (#11373) 2026-01-02 15:02:54 +01:00
inventory [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
lookup [PR #11031/3cbe44e2 backport][stable-11] Update TSS lookup plugin documentation and add Delinea Platform authentication examples (#11073) 2025-11-10 06:47:40 +01:00
module_utils [stable-11] Fix crash in module_utils.datetime.fromtimestamp() (#11206) (#11214) 2025-11-25 21:41:49 +01:00
modules [PR #11685/909458a6 backport][stable-11] docs: improve timezone module examples and add hwclock usage (#11695) 2026-03-27 12:45:07 +01:00
plugin_utils [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
test [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00