From 8465e87bdcc3b90d7ef02ad72dfe69ff26dabaa5 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:33:02 +0200 Subject: [PATCH] [PR #8692/fd811df4 backport][stable-8] Update timezone.py (#8702) Update timezone.py (#8692) in order to set a timezone, root priviliages are needed on most distros, therefore i suggest to change an example to make it plug and play ready. (cherry picked from commit fd811df414095c7c268e09218520dc9db03da1e8) Co-authored-by: Mateusz Kiersnowski <82416937+Ganji00@users.noreply.github.com> --- plugins/modules/timezone.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/modules/timezone.py b/plugins/modules/timezone.py index e027290e86..790795140b 100644 --- a/plugins/modules/timezone.py +++ b/plugins/modules/timezone.py @@ -75,6 +75,7 @@ diff: EXAMPLES = r''' - name: Set timezone to Asia/Tokyo + become: true community.general.timezone: name: Asia/Tokyo '''