2018-03-13 15:19:35 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Reproduction for issue #140.
|
|
|
|
|
|
|
|
- hosts: all
|
|
|
|
gather_facts: no
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
- name: Create file tree
|
|
|
|
connection: local
|
|
|
|
shell: >
|
|
|
|
mkdir filetree;
|
2018-03-14 16:17:02 +00:00
|
|
|
for i in `seq 1 1000` ; do echo $i > filetree/$i ; done
|
2018-03-13 15:19:35 +00:00
|
|
|
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'
|
|
|
|
|