Hi guys,
I got a question concerning list of lists and strings. 

I have something like :
- name: test
  vars:
    test1: "test1"
    test2:
      - "test21"
      - "test22"
    test3:
     - "{{ test1 }}"
     - "{{ test2 }}" 
      
  debug:
    msg: "{% for tt in test3 %} {{ tt }} {% endfor %}"

Is there a way to flatten the list into à list of strings with a filter ? 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0644c01e-f33e-4736-baaa-640f9b63b017%40googlegroups.com.

Reply via email to