puppet-openstack-integration/playbooks/upload-logs.yaml
Mohammed Naser 8e69e24e9a
Add Zuul V3 support for Puppet Jobs
This patch moves in the Puppet OpenStack integration
jobs as well as the module tests in-repo.

Conflicts:
       functions
       run_tests.sh

Depends-On: Ib96ee354cbf9c88f9265f5743a97b2d013addc70
Change-Id: Idd846c569a6e067125e130f189be9ae8ffba1646
(cherry picked from commit bde052c8e4)
2017-10-15 20:07:25 -04:00

15 lines
365 B
YAML

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