Closed Milosz-Galecki-wttech closed 2 months ago
The error code here seems to be from WinINET WININET_E_TIMEOUT
https://github.com/tpn/winsdk-10/blob/9b69fd26ac0c7d0b83d378dba01080e93349c2ed/Include/10.0.16299.0/shared/winerror.h#L57781-L57788
WinINET is the networking stack that WUA uses to download files and a timeout would indicate a connection problem with either the internal WSUS server (if configured) or trying to access the external Windows Update server from Microsoft. You'll have to figure out if your host is configured to talk to a WSUS server through one of its many group policy settings or if you don't have WSUS why it's unable to access the public Windows Update server. While the win_updates
module has a setting to choose whether the managed server or Microsoft server is selected through server_selection it has no way of specifying an actual server and is reliant on your host to be configured correctly to talk to the server to get the updates.
Hi, It was a networking issue. I managed to resolve it.
SUMMARY
I'm using AWX to run ansbile, when I try to use win_updates on windows 2019 it failes no matter what state I use.
ISSUE TYPE
COMPONENT NAME
win_updates
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
Windows Server 2019 Standard
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS