Last active
June 15, 2024 21:56
-
-
Save ZephrFish/41514583553b9128357c75ccb3234faa to your computer and use it in GitHub Desktop.
Ansible for configuring windows taskbar and basic setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Configure Windows Taskbar and Install Software | |
hosts: windows | |
tasks: | |
- name: Hide the search box on the taskbar | |
win_regedit: | |
path: HKCU:\Software\Microsoft\Windows\CurrentVersion\Search | |
name: SearchboxTaskbarMode | |
data: 0 | |
type: dword | |
state: present | |
- name: Use small icons on the taskbar | |
win_regedit: | |
path: HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced | |
name: TaskbarSmallIcons | |
data: 1 | |
type: dword | |
state: present | |
- name: Turn off widgets on the taskbar | |
win_regedit: | |
path: HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced | |
name: TaskbarDa | |
data: 0 | |
type: dword | |
state: present | |
- name: Install Obsidian | |
win_get_url: | |
url: https://github.com/obsidianmd/obsidian-releases/releases/download/v1.6.3/Obsidian.1.6.3.exe | |
dest: C:\Temp\ObsidianInstaller.exe | |
- name: Run Obsidian installer | |
win_package: | |
path: C:\Temp\ObsidianInstaller.exe | |
arguments: /S | |
state: present | |
- name: Install .NET Framework 4.8 | |
win_feature: | |
name: NET-Framework-45-Features | |
state: present | |
- name: Install Visual Studio Code | |
win_get_url: | |
url: https://update.code.visualstudio.com/latest/win32-x64-user/stable | |
dest: C:\Temp\VSCodeInstaller.exe | |
- name: Run Visual Studio Code installer | |
win_package: | |
path: C:\Temp\VSCodeInstaller.exe | |
arguments: /silent | |
state: present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment