So, replace:

    with_dict: "{{ champions }}"

with:

    loop: "{{ lookup('dict', champions }}"

?

On 02/26/2018 12:35 PM, Brian Coca wrote:
With with_dict <- you are already using a lookup, `lookup("dict",
....`, all with_<lookup name> constructs ARE lookups.

Using a lookup or not, the hash_behaviour stays unchanged. Also there
is a filter dict2items that you might want to use instead of the
lookup.



--
- David Reagan

--
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/29175daa-8afd-d6ac-3748-7481ec020877%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to