Change RTC to UTC

This commit is contained in:
Gašper Fele-Žorž 2025-08-13 16:38:12 +02:00
parent d0ac08e8ba
commit f5456a7f57
2 changed files with 20 additions and 4 deletions

View file

@ -27,8 +27,8 @@
- wine32:i386 - wine32:i386
- wine-binfmt - wine-binfmt
- dosbox - dosbox
- webext-ublock-origin-chromium # - webext-ublock-origin-chromium
- webext-ublock-origin-firefox # - webext-ublock-origin-firefox
- nethack-console - nethack-console
- zsh - zsh
- tmux - tmux
@ -132,8 +132,8 @@
state: mounted state: mounted
opts: guest,soft,nofail opts: guest,soft,nofail
- name: Set time to local RTC # - name: Set time to local RTC
shell: "timedatectl set-local-rtc 1 --adjust-system-clock" # shell: "timedatectl set-local-rtc 1 --adjust-system-clock"
- name: Install ethtool - name: Install ethtool
apt: apt:

View file

@ -1,18 +1,34 @@
- name: Set RTC to UTC
win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
name: RealTimeIsUniversal
data: 1
type: dword
- name: Set timezone - name: Set timezone
win_timezone: win_timezone:
timezone: Central Europe Standard Time timezone: Central Europe Standard Time
- name: Show file extensions in Explorer - name: Show file extensions in Explorer
win_regedit: win_regedit:
path: HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced path: HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
name: HideFileExt name: HideFileExt
data: 0 data: 0
type: dword type: dword
- name: Allow SMB insecure guest access - name: Allow SMB insecure guest access
win_regedit: win_regedit:
path: HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation path: HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation
name: AllowInsecureGuestAuth name: AllowInsecureGuestAuth
data: 1 data: 1
type: dword type: dword
- name: Enable Unified Write Filter
win_optional_feature:
include_parent: true
name: Client-UnifiedWriteFilter
state: present
- name: Install PSCX - name: Install PSCX
community.windows.win_psmodule: community.windows.win_psmodule:
name: Pscx name: Pscx