Hi Team,

Can we copy or delete files in parallel instead of sequence for different 
locations when using with_items. 

---
- hosts: all
  tasks:
    - name: Copying files
      copy: src={{ item.src }} dest={{ item.dest }}
      with_items:
        - { src: '/tmp/abc.war', dest: '/tmp/abc' }
        - { src: '/tmp/def.war', dest: '/tmp/def' }
        - { src: '/tmp/xyz.war', dest: '/tmp/xyz' }
     

-- 
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/2d28d922-75a4-45f6-876f-79fa1fc3d06f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to