Skip to content

Instantly share code, notes, and snippets.

@ties
Created March 14, 2019 13:22
Show Gist options
  • Save ties/c97fd7bea12b87355b0c64f69e850eb6 to your computer and use it in GitHub Desktop.
Save ties/c97fd7bea12b87355b0c64f69e850eb6 to your computer and use it in GitHub Desktop.
---
- name: Run windows updates and reboot if required
win_updates:
category_names:
- Application
- CriticalUpdates
- DefinitionUpdates
- SecurityUpdates
- UpdateRollups
- Updates
reboot: true
- name: Install packages
win_chocolatey:
state: present
name: "{{item}}"
loop:
- crystaldiskinfo
- git
- googlechrome
- firefox
- 7zip.install
- vlc
- sysinternals
- vscode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment