hi all,

i ' m new to ansible, i wanted to know how could i loop thru the following 
set of data.
tried with_items but i had no luck so far.


ok: [HOST] => {"ansible_facts": {"foo": "[u'home  instance', u'home 
instance']"}}

ok: [HOST] => {"ansible_facts": {"foo": "[u'home instance']"}}

 # - debug: var=foo
  - name: test list 
    shell: cmd  {{ item }}
    with_items:
      - "{{ foo_item }}"
#  - debug: var=foo_item

thanks

-- 
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/2b5afe69-74ab-449a-aed0-389f9f305e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to