
Change-Id: I5bc70f92d61a9abe88c75e28c30d9147a7687276 Depends-On: https://review.openstack.org/633544 Depends-On: https://review.openstack.org/633630 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
27 lines
797 B
YAML
27 lines
797 B
YAML
---
|
|
- hosts: all
|
|
tasks:
|
|
- name: Collect tox logs
|
|
synchronize:
|
|
dest: "{{ zuul.executor.log_root }}/tox"
|
|
mode: pull
|
|
src: "{{ windmill_backup_src_dir }}/.tox/venv/log/"
|
|
verify_host: true
|
|
|
|
- name: Ensure ara-report directory exists
|
|
file:
|
|
path: "{{ zuul_output_dir }}/logs/logs/ara-report"
|
|
state: directory
|
|
|
|
- name: Copy ARA database to ara-report directory
|
|
shell: "cp ~/.ara/ansible.sqlite {{ zuul_output_dir }}/logs/logs/ara-report"
|
|
|
|
# TODO: Migrate to fetch-zuul-logs when
|
|
# https://review.openstack.org/#/c/583346/ is merged.
|
|
- name: Collect log output
|
|
synchronize:
|
|
dest: "{{ zuul.executor.log_root }}/"
|
|
mode: pull
|
|
src: "{{ zuul_output_dir }}/logs/"
|
|
verify_host: true
|