set GMT +1 by default
This commit is contained in:
parent
eb078477b0
commit
cf24cdb5c2
4 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
# ansible_role_win_time
|
||||
|
||||
Ansible role to Set Timezone in Windows
|
||||
Ansible role to Set Timezone in Windows
|
||||
|
||||
By default, we will use the 'Romance Standard Time' (GMT+01:00), bt you can modify it with the ``win_time__timezone`` variable.
|
||||
|
|
2
defaults/main.yml
Normal file
2
defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
win_time__timezone: 'Romance Standard Time'
|
4
tasks/main.yml
Normal file
4
tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: Set timezone
|
||||
ansible.builtin.import_tasks:
|
||||
file: timezone.yml
|
4
tasks/timezone.yml
Normal file
4
tasks/timezone.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: "Set timezone to {{ win_time__timezone }}"
|
||||
community.windows.win_timezone:
|
||||
timezone: "{{ win_time__timezone }}"
|
Loading…
Reference in a new issue