You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure but couldn't make it out from the documentation.
When performing a win_updates task with a state:searched, does this store the searched updates for subsequent tasks.
Let's say you want to perform the search in the beginning of your playbook in async mode.
At the end you want to reboot and start another win_updates task with state:installed in synchronous mode.
Would the second only perform the installs, completing faster?
It's all part of the Windows Update API, while I believe it does cache the existing results internally so doing a search then install as separate tasks might be more efficient it is still going to check if there are more updates available on the second run.
SUMMARY
I'm not sure but couldn't make it out from the documentation.
When performing a win_updates task with a state:searched, does this store the searched updates for subsequent tasks.
Let's say you want to perform the search in the beginning of your playbook in async mode.
At the end you want to reboot and start another win_updates task with state:installed in synchronous mode.
Would the second only perform the installs, completing faster?
ISSUE TYPE
COMPONENT NAME
ansible.windows.win_updates
ANSIBLE VERSION
The text was updated successfully, but these errors were encountered: