Comments (8)
Morning guys, I'm curious if you have an idea on what direction you plan to go here. Currently we are seeing 2004 reported on 1909 hosts, win_updates seems to see 1 update available, however - since it cant "install" it, it just reboots the host in a loop until timeout. I can log a new case with Redhat support if thats new behavior.
win_updates: check win_updates results for automatic reboot: {"updates": {"1656cdd2-2e73-4fd8-9ab9-02097d5c7544": {"id": "1656cdd2-2e73-4fd8-9ab9-02097d5c7544", "title": "Feature update to Windows 10 (business editions), version 2004, en-us x64", "categories": ["Upgrades", "Windows 10, version 1903 and later"], "kb": ["3012973"], "installed": true}}, "failed_update_count": 0, "found_update_count": 1, "changed": false, "reboot_required": true, "installed_update_count": 1, "filtered_updates": {}, "_ansible_parsed": true
code:
- name: Install Other Updates
win_updates:
category_names:
- Application
- Connectors
- DefinitionUpdates
- Tools
- Updates
- Upgrades
reboot: yes
reboot_timeout: 1200
ansible 2.10.1
config file = /home/*******/git/ansible-windows/ansible.cfg
configured module search path = ['/home/******/git/ansible-windows/library']
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.6.8 (default, Aug 18 2020, 08:33:21) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
from ansible.windows.
I've spent a few hours trying to figure this out but ultimately I haven't found a solution. I can't even find the feature updates in the Microsoft Update Catalog which makes me suspect there's a completely separate mechanism that the Settings update UI uses to determine if there is one available.
As for the preview cumulative updates I've not sure on that as it does exist the update catalog. I wasn't even able to search for that update by specifying the actual GUID for the update.
I don't know of the actual solution to this problem so if anyone can shed some light I'm definitely interested to hear from you.
from ansible.windows.
What little info I can find implies that those are distributed as full OS images via ESD rather than the normal Windows update stuff... They seem to show up in WSUS, but are consumed by another mechanism. While it's probably possible for us to automate it at some point, getting it to work without production of things like unattend.xml to bypass the OOBE seems like a pretty big blocker to useful automation- it's likely that blindly updated hosts would be dead in the water and require manual console intervention.
from ansible.windows.
Do you happen to have a WSUS server that might be hosting this update?
from ansible.windows.
Yes - the update is being hosted by WSUS
from ansible.windows.
Our plan for now ( per @mwtrigg ) is to blacklist the KB. Which I'm guessing will work from keeping the side effect of looping reboots.
from ansible.windows.
Any updates with regards to this?
from ansible.windows.
There's no updates, after learning more about this setup I'm not sure it's something we can do anything about. This is basically how Windows Updates works and it's API.
from ansible.windows.
Related Issues (20)
- Failed to create temporary directory when running win_template module against Windows Server 2019 HOT 10
- win_copy doesnt work when folder name has special character HOT 3
- Add account_expires functionality from the Set-LocalUser PowerShell Cmdlet HOT 2
- Using Machine credentials from AAP passed to playbook with ansible.windows.win_copy fails HOT 3
- ERROR DURING WINRM SEND INPUT - attempting to recover: WinRMTransportError Bad HTTP response returned from server. Code 413 HOT 2
- win_copy module not handling an invalid path correctly. HOT 2
- Feature request: A better win_acl module HOT 1
- Error in Windows Update: Unhandled exception while executing module: Cannot process request because the process (PID) has exited HOT 6
- Docs for setup reference ansible.builtin instead of ansible.windows
- Instances of ansible.builtin instead of ansible.windows in docs for overloaded module names
- Galaxy Download does not work HOT 1
- win_powershell sensitive parameters using `::new()` HOT 1
- ansible.windows.win_owner module fails to run recursively if ansible_user does not have access to the child items HOT 2
- Not able to run the win_update task on Windows server when Trellix Threat prevention enabled with Ansible version 2.16.6 HOT 11
- Unable to Install 'VirtualMachinePlatform' Feature on Windows Server 2022 using win_feature Module HOT 1
- win_updates: not find cumulative updates but appears on GUI HOT 4
- Error in win_stat when fetching a file with brackets [] in the name HOT 3
- `win_powershell` doesn't respect `depth` parameter when using pwsh executable HOT 1
- Too-short timeout causes exceptions with Powershell 7 on fresh machine - Exception calling "Open" with "0" argument(s) HOT 1
- win_dns_client should support DNS suffix
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible.windows.