found  solution, but not the explanation:

- hosts: all
  vars:
  - hello:
    - [[ 'Hello', 'world' ]]
    - [[ 'Goodbye', 'people' ]]
  tasks:
  - name: Testing loop
    shell: echo {{ item.0 }} {{ item.1 }}
    with_items: hello

why do I need to double-bracket arrays? Or to put it another way: why does 
ansible extract arrays by default?

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to