I don't think Ansible will work with this scenario.

I want to iterate through every ansible role and host as a flat index.

Right now the groups variable is what I'm focused on.  Which is:

group0: 
  - host0
  - host1

group1: 
  - host2
  - host3

I want to process it as:

group0, host0
group0, host1
group1, host2
group1, host3

... but I don't think this is possible.  Is there a 'flatten' I can use?  

with_dict and with_subelements won't work.

with_subelements complains that it expects a map with a key to iterate from.
   

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/df5f50f0-f7d3-4236-90a5-9338d61c1e77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to