--
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...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2116213a-01dc-465f-800d-791a45c5e351%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try:
with_items: variableName.split()
On Tuesday, February 17, 2015, Mario Vázquez <vcma...@gmail.com> wrote:
Hello all,--
I need help with a loop iterating through user input data. I have a prompt variable in my playbook that is filled with usernames. The value its something like "test1 test2 test3".
I need to iterate through this values within "with_items" iterator.
If I use with_items: variableName the loop iterates only once (the value was test1 test2 test3).
Any ideas?
Thank you in advance.
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+unsubscribe@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/2116213a-01dc-465f-800d-791a45c5e351%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.