this is not working .my inner yml is only utilizing svc_port and for when condition I need item of proto list. in my inner yml already a loop so without loop control it is not working. in current loop_var for inner yml its passing whole list of svc_port as a single item.
so please suggest me how i can apply loop_vars
You declare ‘loop_var: svc_port’ but that var already exists as one of the two variables of with_together. That won’t work, you need to pick some other name.
Also, loop_var in the context of with_together will be a list of two vars (values from proto and svc_port).
I tried with the other loop_var name but didnt worked. my issues is for inner yml i wanted only port list items pass ,when using a loop_var it is passing both list items . Please suggets how i can achieve this.