The task executes once per item, I'm guessing it failed on the first one.
--
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-proje
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_it
when an argument is defined as a list, it is always a list, even if you
only supply one element.
--
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
> "failed": true,
> "invocation": {
> "module_args": {
> "build": false,
> "name": "['tor']",
> "ports_dir": "/usr/ports",
> "state": "present"
> }
> },
> "item": [
> "tor"
> ],
> "msg": "Can't find [tor