issue #140: import reproduction

This commit is contained in:
David Wilson 2018-03-13 21:04:35 +05:45
parent 8f85943083
commit 21a8026a63
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
---
# Reproduction for issue #140.
- hosts: all
gather_facts: no
tasks:
- name: Create file tree
connection: local
shell: >
mkdir filetree;
for i in {1..1000} ; do touch filetree/$i ; done
args:
creates: filetree
- name: Delete remote file tree
shell: rm -rf /tmp/filetree
- name: Trigger nasty process pileup
synchronize:
src: "{{ item.src }}"
dest: "/tmp/filetree"
with_filetree:
- filetree
when: item.state == 'file'