ansible-role-nodepool/tests/collect-logs.yaml
Paul Belanger 19929aa259
Collect logs from testing
It is helpful to have logs to debug failures.

Change-Id: I3d5170713a031dc8ccb4772a7778bec1e63ffa15
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-11 15:17:30 -05:00

11 lines
251 B
YAML

- hosts: all
tasks:
- name: Collect nodepool log files
synchronize:
dest: "{{ zuul.executor.log_root }}/logs"
mode: pull
rsync_opts:
- "--relative"
src: /var/log/nodepool
verify_host: true