Parallel execution of local action with multiple items

13 views
Skip to first unread message

Baraa Basata

unread,
Jun 25, 2015, 11:08:37 PM6/25/15
to ansible...@googlegroups.com
Given a need to provision 2+ instances of a cloud resource, such as the below, is there a way to provision them in parallel?

---
- hosts: localhost
  connection: local
  tasks:
    - local_action:
        module: rds
        name: "{{ item.name }}"
        ...
      with_items: rds_instances

Reply all
Reply to author
Forward
0 new messages