You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
515 B
YAML
25 lines
515 B
YAML
7 years ago
|
# Reproduction for issue #140.
|
||
|
|
||
|
- hosts: all
|
||
|
tasks:
|
||
|
- name: Create file tree
|
||
|
connection: local
|
||
|
shell: >
|
||
|
mkdir filetree;
|
||
7 years ago
|
for i in `seq 1 1000` ; do echo $i > filetree/$i ; done
|
||
7 years ago
|
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'
|