Andreas Jaeger d7b5717470 Fix src location
Copy files from the proper workdir where they reside.

Change-Id: Ic925ff6cfa406897af512526eb1067c2b74ab8ae
2017-09-30 17:51:10 +02:00

37 lines
1.0 KiB
YAML

- hosts: primary
tasks:
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/cover/**
- --include=*/
- --exclude=*
- --prune-empty-dirs
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/reports/**
- --include=*/
- --exclude=*
- --prune-empty-dirs
- name: Copy files from dist/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/dist/'
dest: '{{ zuul.executor.log_root }}/html/'
mode: pull
copy_links: true
verify_host: true