Monty Taylor 2dfb08a49e
Actually run the unittests post playbooks
Put the tasks into a role so that we can set zuul_work_dir in
defaults.yaml so that this also works if we're setting a directory in a
variable.

Change-Id: I638f7682d086781178f2dc7517eb0fb09a5f2acd
2017-07-10 16:50:18 -05:00

11 lines
270 B
YAML

- name: Collect test-results
synchronize:
dest: "{{ zuul.executor.log_root }}"
mode: pull
rsync_opts:
- "--ignore-missing-args"
src: "{{ zuul_work_dir }}/{{ item }}"
with_items:
- "*testr_results.html.gz"
- "*testrepository.subunit.gz"