TL;DR - I need to use with_items on a Task (that is already using a loop) but I can’t use loop and with_items in the same Task and ‘think’ I need to use a nested loop. I can’t find an idiot’s guide on how to accomplish this so if anyone knows an example of how to accomplish this, I’d really appreciate it.
So I work on F5 equipment and we use their VIPRION acting as a hypervisor for multiple hosted Guest F5s within it.
I’m using a Playbook to upgrade the hypervisors but need to check the Guests contained within these hypervisors before/after the upgrade for general info. The Guests are directly accessible from the Ansible controller so I don’t have to use a jumphost type config.
Scenario