I think I've got it:

http://pastebin.com/NCgAhVjF

now works with:

  - name: Testing Foo dicts
    foo:
      name:
        one: 1
        two: 2
        three: 3
      state: present

  - name: Testing Foo lists
    foo:
      name: [ 1, 2, 3]
      state: present

  - name: Testing Foo lists
    foo:
      name:
        - 1
        - 2
        - 3
      state: present

last two result in a simple list iteration, while the first one passes 
dictionary this should help with my module building... unless somebody is 
going to point out a better way/inapropriateness of my approach :)

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

Reply via email to