So lists have 0 based indices, if you try to access item '1' when the
list only has 1 item (really item '0') you will get this error.

I think this expression is the culprit:

{% set list_length = item.values()|length %}

as with_dict should return item.key and item.value, not sure what
item.values() is doing.

-- 
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 [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/CAJ5XC8miryto5E2zgAf0q2c0SH_4kT%2Bu-Ew_tMRVWrpJ8rjGZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to