Don'g believe it is possible nor do I think it will be implemented. 
Currently you can get close approximation by using 
dependencies: 
http://docs.ansible.com/ansible/playbooks_roles.html#role-dependencies


as far as looping over includes:

=====> test.yml 
--- 
 
- hosts: all 
  tasks: 
      - name: Ping-pong 
        ping: 
      - { include: "{{ item }}.yml", with_items: [ ping, pong ]} 
=====> ping.yml 
- name: Ping 
  ping: 
=====> pong.yml 
- name: Pong 
  ping:


which works as expected - first pings then pongs servers in inventory. 

-- 
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/73744b25-32bc-4965-983c-491a9a38f110%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to