a491f80f6f
We don't need to copy this back over. Change-Id: I419c9c80526953177f808ad7b180deba9bf0434e
25 lines
658 B
YAML
25 lines
658 B
YAML
- hosts: bridge.openstack.org
|
|
tasks:
|
|
- name: Register junit.xml file
|
|
stat:
|
|
path: "{{ zuul.project.src_dir }}/junit.xml"
|
|
register: _junit
|
|
|
|
- name: Collect testinfra logs
|
|
synchronize:
|
|
dest: "{{ zuul.executor.log_root }}"
|
|
mode: pull
|
|
src: "{{ zuul.project.src_dir }}/junit.xml"
|
|
verify_host: true
|
|
when: _junit.stat.exists|bool
|
|
|
|
- name: Collect ansible configuration
|
|
synchronize:
|
|
dest: "{{ zuul.executor.log_root }}"
|
|
mode: pull
|
|
src: "/etc/ansible"
|
|
verify_host: true
|
|
rsync_opts:
|
|
- "--exclude=__pycache__"
|
|
ignore_errors: true
|