[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 fd811df414)

Co-authored-by: Mateusz Kiersnowski <82416937+Ganji00@users.noreply.github.com>
pull/8715/head
patchback[bot] 2024-08-01 17:33:05 +02:00 committed by GitHub
parent 9b0ebef408
commit 31a147f0eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ diff:
EXAMPLES = r'''
- name: Set timezone to Asia/Tokyo
become: true
community.general.timezone:
name: Asia/Tokyo
'''