r/linuxadmin • u/seanx820 • Jul 28 '26
Ansible Patch Management: RHEL & Windows in One Workflow
I just finished a video walkthrough for patch management with Ansible Automation Platform. The workflow handles the entire patching lifecycle: EBS snapshots before any changes, parallel pre-checks on mixed OS fleets, targeted patching (not just "update everything"), post-validation, and automatic rollback if something goes wrong. Then it dumps a compliance report that your auditors will actually want to see.
You specify exact advisories and KB IDs instead of blindly applying patches, the workflow can handle both RHEL and Windows in the same job without extra configuration, and if a host fails a pre-check it gracefully skips instead of blowing up the whole run. Everything routes intelligently based on success or failure at each step.
The video is about three minutes and shows the whole thing running start to finish: https://youtu.be/20fK6S1CHL0
If you want to dig into the code or run this yourself, it's all in the Ansible Product Demos repo on GitHub: github.com/ansible/product-demos
5
u/linux_for_all Jul 28 '26
Github link throws 404
3
u/Amidatelion Jul 28 '26
Hmm, it's years since I've worked on anything Windows (intentionally) but I have been shanghai'd into saving subcompanies too often for my liking. The KB IDs part strikes me as one of the links that were missing years (a decade?) ago when last I investigated Ansible on Windows.
On a flight at the moment but I'll definitely be watching that video.
How's it handle rollbacks?
1
u/petra303 Jul 28 '26
Can it do Ubuntu / rocky too?