I have a data list in an yml file. I would like to extract data, using a double loop, like we use to do. This is an example of my list
[a,b,c] vm1: -a -b vm2: -a -c vm3: -b
This is for a generic deployment purpose. I need to loop the list, and for each element, get the list of the vm that need to be installed in. For example
a > vm1 vm2
b > vm1 vm3
c > vm2
I tried with_nested but it doesn't help. Any idea to deal with that?