You can install hotfixes if necessary, although its a bit of a faff.
see
https://support.microsoft.com/en-us/kb/27738398You have to use wusa with /extract to unpack the update file (which does work over winrm) and then use dism.exe to install the cab.
Example below.
Hope this helps,
Jon
- name: check if Windows8.1-KB2999226-x64.msu hotfix has been applied
raw: Get-Hotfix -Id KB2999226
register: hotfix_status
ignore_errors: true
- name: show hotfix status
debug:
var: hotfix_status
# Unfortunately you can't use wusa directly to install windows updates.
# you have to unpack the update file and then use dism.exe to install the cab
- name: unpack the hotfix if needed
raw: 'wusa C:\deployment\current\Windows8.1-KB2999226-x64.msu /extract:C:\deployment\archive'
when: "hotfix_status.rc == 1"
- name: use dism to install the cab containing the hotfix
raw: 'dism.exe /online /add-package /PackagePath:C:\deployment\archive\Windows8.1-KB2999226-x64.cab'
when: "hotfix_status.rc == 1"