Hey Brian,

Thanks for that, works like a charm.

I did notice there are a bunch of quoting issues going on, for instance:

x:
- y: b
  z: c
- y: "{{ d }}"
  z: "{{ e }}"

Works fine, where-as defining the structure as per my initial post the 
variable evaluation fails ( end up with {# x.item #} or group_id's that do 
not evaluate.
Now I will say, the variables are defined in group_vars over a couple of 
different groups and are then passed in through a 'with_items' iterator in 
the actual role.

Anyway, it's not a real problem since defining it as above works as 
expected.

Thanks again for your suggestion! 
Nico







-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4485f7f8-fe00-4276-b64a-fdb55fa63200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to