classroom/roles/fri_base/tasks/main_win.yml

24 lines
665 B
YAML

- 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: Install PSCX
community.windows.win_psmodule:
name: Pscx
accept_license: true
allow_clobber: true
state: present
# TODO: turn on GPO to allow guest SMB logins
# TODO: open firewall for Samba