concatenate string with all list items

hello
I want to add a string for all item in my list without using “with_item”.
any proposition?
Thx

You can use a filter to concatenate a string from a list. For example,

"{{ my_list | join(' ') }}"

You can read more about filters here.

Theo