Hi Brian,

I am trying to implement your suggestion, I am getting:

"ERROR! an unexpected type error occurred. Error was sequence item 0: 
expected string, tuple found" (I fixed the obvious typo in your code)

Does this ring a bell?

On Thursday, June 18, 2015 at 2:04:39 PM UTC-3, Brian Coca wrote:
>
> this won't work 
> with_nested: 
>   - with_subelements: 
>     - monitor_exchanges 
>     - demand_partners 
>   - monitors 
>
> but this will: 
> with_nested: 
>   - "{{lookup('subelements', [monitor_exchanges, demand_partners]}"" 
>   - monitors 
>
> I'm not sure that will get you what you want, but it should correctly 
> combine the lookups now 
>
>
>
> -- 
> Brian Coca 
>

-- 
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/2620eb58-cffa-4c9a-ab52-9d2e7ea60dee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to