packstack/playbooks/upload-logs.yaml
Javier Pena df7cb04857 Zuul v3 support for Packstack jobs
- Do not generate the SSH private key if it already exists
- Set skipsdist = True in tox.ini
- Add Zuul v3 layout

Change-Id: I4b0254bf175d51c0a468b01f8ac034db43859572
2017-10-16 12:55:47 +02:00

16 lines
337 B
YAML

- hosts: all
tasks:
- name: Upload logs
synchronize:
src: '/tmp/logs'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/logs/**
- --include=*/
- --exclude=*
- --prune-empty-dirs