mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[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>
This commit is contained in:
parent
9b0ebef408
commit
31a147f0eb
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ diff:
|
|||
|
||||
EXAMPLES = r'''
|
||||
- name: Set timezone to Asia/Tokyo
|
||||
become: true
|
||||
community.general.timezone:
|
||||
name: Asia/Tokyo
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue