tests: just directly rsync files

Using the synchronize module made rsync try to fetch the files from the
VM, even though we were part of the delegated block. Might be a subtle
bug in ansible. But really, there's no point in using the module here.
Both src and dest are local, so we can just call rsync ourselves.
This commit is contained in:
Jonathan Lebon 2017-08-24 15:36:49 -04:00
parent 0c6f1a3de0
commit 90722b718c

View File

@ -79,9 +79,5 @@
chdir: "{{srcdir}}"
always:
- name: fetch vmcheck results
synchronize:
src: "{{srcdir}}/vmcheck/"
dest: "{{artifacts}}/vmcheck"
mode: pull
delete: yes
- name: Fetch test results
command: rsync -a --delete {{srcdir}}/vmcheck/ {{artifacts}}/vmcheck