It seems the response I'm referring to is not on the thread - here it is:
"You can define your data like this:
queues:
logstash:
name: 1P.LOGSTASH
something:
name: 1P.SOMETHING
foo:
name: 1P.FOO
bar:
name: 1P.BAR
composite_queues:
- name: 1P.EMAIL
queues:
- logstash
- name: 1P.IP_EVT
queues:
- logstash
- something
- name: 1P.IP_BLAH
queues:
- logstash
- foo
- bar
Then your template would look like this:
{% for composite_queue in composite_queues %}
<compositeQueue name="{{ composite_queue.name }}" forwardOnly="false">
<forwardTo>
{% for queue in composite_queue.queues %}
<queue physicalName="{{ queues[queue].name }}"/>
{% endfor %}
</forwardTo>
</compositeQueue>
{% endfor %}
--
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/0aac2096-3c00-42c7-a815-3022745e5607%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.