Not sure I understand the question. {{ list|join(",")}} will join a list
using jinja2 which is available in playbooks. But you already wrote that so
you know that already...
Could you clarify?
-Toshio
On Dec 9, 2014 5:20 AM, "Micael Malta" <[email protected]> wrote:
> i have to get dynamic variables in config:
>
> list: [1,2,3]
>
> variable:
> - { name: myname, "{{ list | join(",") }}" }
>
>
> How to do that ?
>
> --
> 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/5273993e-70ba-4ad9-b349-b57847a3304c%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/5273993e-70ba-4ad9-b349-b57847a3304c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CAG9juEq6ftzf_vx-joJdBnY8v5ES3Vyp5dfzwzwxm-uM%2BciV3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.