From f5456a7f5749416f9b210b69bdfabf37fc0b3d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Fele-=C5=BDor=C5=BE?= Date: Wed, 13 Aug 2025 16:38:12 +0200 Subject: [PATCH] Change RTC to UTC --- roles/fri_base/tasks/main_lin.yml | 8 ++++---- roles/fri_base/tasks/main_win.yml | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/roles/fri_base/tasks/main_lin.yml b/roles/fri_base/tasks/main_lin.yml index 1cc6e95..d301d09 100644 --- a/roles/fri_base/tasks/main_lin.yml +++ b/roles/fri_base/tasks/main_lin.yml @@ -27,8 +27,8 @@ - wine32:i386 - wine-binfmt - dosbox - - webext-ublock-origin-chromium - - webext-ublock-origin-firefox + # - webext-ublock-origin-chromium + # - webext-ublock-origin-firefox - nethack-console - zsh - tmux @@ -132,8 +132,8 @@ state: mounted opts: guest,soft,nofail -- name: Set time to local RTC - shell: "timedatectl set-local-rtc 1 --adjust-system-clock" +# - name: Set time to local RTC +# shell: "timedatectl set-local-rtc 1 --adjust-system-clock" - name: Install ethtool apt: diff --git a/roles/fri_base/tasks/main_win.yml b/roles/fri_base/tasks/main_win.yml index 40d9e2f..0a68dbd 100644 --- a/roles/fri_base/tasks/main_win.yml +++ b/roles/fri_base/tasks/main_win.yml @@ -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 win_timezone: timezone: Central Europe Standard Time + - name: Show file extensions in Explorer win_regedit: path: HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced name: HideFileExt data: 0 type: dword + - name: Allow SMB insecure guest access win_regedit: path: HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation name: AllowInsecureGuestAuth data: 1 type: dword + +- name: Enable Unified Write Filter + win_optional_feature: + include_parent: true + name: Client-UnifiedWriteFilter + state: present + - name: Install PSCX community.windows.win_psmodule: name: Pscx