On 20.04.2018 13:03, Nico wrote:
Thank you so much. I would never have figured that out. The result is
however still a bit off:
TASK [debug]
************************************************************************************************************************
ok: [localhost] => {
"foo": "[u'10.1.1.7']:8080,[u'10.1.1.4']:8080,[u'10.1.1.5']:8080"
}
There is noting wrong with the output, but with the input.
Looks like you ip_list is a list in a list or does contain more that
just the IPs.
What does
- debug: var=ip_list
say?
--
Kai Stian Olstad
--
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/0a3dca04b22f595ea331addff8b5a41c%40olstad.com.
For more options, visit https://groups.google.com/d/optout.