Skip to content

Instantly share code, notes, and snippets.

View softtears's full-sized avatar

Brandon softtears

View GitHub Profile
@softtears
softtears / win_update.yml
Created November 17, 2023 16:35 — forked from elordahl/win_update.yml
Ansible playbook to run Windows Update and restart, if required
---
# Ansible playbook to run Windows Update and restart, if required
#
# http://docs.ansible.com/ansible/win_updates_module.html
# https://docs.ansible.com/ansible/win_reboot_module.html
- name: Windows Update
hosts: all
gather_facts: false
tasks: