-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win_update shows "installed:false" even after installed #331
Comments
Your example task has |
@jborean93 my bad, copied the output from wrong task. Updated with correct details. still facing same. |
Can you run with |
@jborean93 sure, I will share it soon. (connecting to my lab) |
@jborean93 Thank you so much for the quick help. I will mark the issue as closed. "f26a0046-1e1a-4305-8743-19c92c3095a5": {
"categories": [
"Updates",
"Windows Server 2019"
],
"downloaded": true,
"failure_hresult_code": 2149842967,
"failure_msg": "Operation was not performed because there are no applicable updates (WU_E_NOT_APPLICABLE 80240017)",
"id": "f26a0046-1e1a-4305-8743-19c92c3095a5",
"installed": false,
"kb": [
"4577586"
],
"title": "Update for Removal of Adobe Flash Player for Windows Server 2019 for x64-based systems (KB4577586)"
} |
Glad you were able to figure it out. |
@jborean93 Thanks again |
…unity repo (#702) * Initial commit * Fix tests - ci_complete ci_coverage * Fix up docs after migration (#95) * Fix up docs after migration * Fix up sanity errors * Rebalance the test targets (#128) * Rebalance the test targets * Make sure IIS test removes the service so our httptester works * Fix devel sanity checks - ci_complete (#331) * Migrate win_timezone module to ansible.windows repo from ansible.community repo --------- Co-authored-by: Jordan Borean <jborean93@gmail.com>
* Initial commit * Fix tests - ci_complete ci_coverage * removing chocolatey as they have moved to chocolatey.chocolatey (#65) * removing chocolatey as they have moved to chocolatey.chocolatey * more chocolatey removals * fix sanity error * fixing one last time I hope * Fix up docs after migration (#95) * Fix up docs after migration * Fix up sanity errors * fix up sanity ignores (#97) * fix up sanity ignores * Bump ansible-windows dep * Fix bad change for win_region * Rebalance the test targets (#128) * Rebalance the test targets * Make sure IIS test removes the service so our httptester works * Fix new santiy check and stabilise external downloads (#171) * Mark win_hotfix as unstable (#245) * Fix devel sanity checks - ci_complete (#331) * Update win_hotfix.ps1 (#386) * Update win_hotfix.ps1 * Fix up docs and return values Co-authored-by: Jordan Borean <jborean93@gmail.com> --------- Co-authored-by: Jordan Borean <jborean93@gmail.com> Co-authored-by: Jake Jackson <jljacks93@gmail.com> Co-authored-by: fsteve800 <91268425+fsteve800@users.noreply.github.com>
SUMMARY
When using
ansible.windows.win_updates
, we need to verify the updates are installed or not. When we register the output ofansible.windows.win_updates
task, we are getting the output as"installed": false,
which is wrong (!)ISSUE TYPE
COMPONENT NAME
ansible.windows.win_updates
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
MacOS
STEPS TO REPRODUCE
EXPECTED RESULTS
The registered output should contain
installed: true
if the update is installed successfully.ACTUAL RESULTS
Check below.
The text was updated successfully, but these errors were encountered: