From 21a8026a639ea80164484d53bbb1d0978b5bcbd4 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 13 Mar 2018 21:04:35 +0545 Subject: [PATCH] issue #140: import reproduction --- examples/playbook/issue_140.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 examples/playbook/issue_140.yml diff --git a/examples/playbook/issue_140.yml b/examples/playbook/issue_140.yml new file mode 100644 index 00000000..cddb6c53 --- /dev/null +++ b/examples/playbook/issue_140.yml @@ -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' +