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.
pull/8712/head
Mateusz Kiersnowski 2024-08-01 17:25:02 +02:00 committed by GitHub
parent b6c6253bfc
commit fd811df414
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''' EXAMPLES = r'''
- name: Set timezone to Asia/Tokyo - name: Set timezone to Asia/Tokyo
become: true
community.general.timezone: community.general.timezone:
name: Asia/Tokyo name: Asia/Tokyo
''' '''