Brian Coca:
> when an argument is defined as a list, it is always a list, even if you
> only supply one element.

Yes, that is what I actually expect.

and that is why I do not understand that name is set to the entire list
instead of the first (and only) item of the list if I use it in a
with_items loop:


https://github.com/nusenu/ansible-relayor/blob/master/tasks/main.yml#L43


Or am I misreading the error message?

-- 
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/aca73339-e690-a1db-e1bc-12faa767b320%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to