Skip to content
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

How to loop thru win_updates until no updates left #1

Open
drehelis opened this issue Jan 20, 2017 · 3 comments
Open

How to loop thru win_updates until no updates left #1

drehelis opened this issue Jan 20, 2017 · 3 comments

Comments

@drehelis
Copy link

I've been struggling with this for quite some time now,
In my organization, we carry out windows updates (using ansible) every quarter year and it usually requires 2-3 playbook executions to finish it off.

There's no looping support in Blocks yet, Include is not a module, more like a preprocessing macro so loops don't work here either.

@mwinfie
Copy link

mwinfie commented Jul 5, 2017

You can do this with a dynamic include.

@ikunduraci
Copy link

Hi autogun, i've just published some playbooks around windows patching; see if this helps with your issues.

Regards

@deekayen
Copy link
Owner

deekayen commented Oct 7, 2020

@ikunduraci I looked through https://github.com/ikunduraci/Ansible/blob/b3d50cf7bd067443bdf0c6735cce7a9b412b0de3/Windows/install-updates/install-updates.yml and didn't see how that method did an exhaustive loop for all the available updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants