From 31a147f0eb83503090b9fd939e4f9f042046469f Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:33:05 +0200 Subject: [PATCH] [PR #8692/fd811df4 backport][stable-9] Update timezone.py (#8703) 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 '''