rajat29 | 0fc826d | 2017-11-21 00:06:00 +0530 | [diff] [blame] | 1 | - hosts: primary |
| 2 | tasks: |
| 3 | |
| 4 | - name: Copy files from {{ ansible_user_dir }}/workspace/ on node |
| 5 | synchronize: |
| 6 | src: '{{ ansible_user_dir }}/workspace/' |
| 7 | dest: '{{ zuul.executor.log_root }}' |
| 8 | mode: pull |
| 9 | copy_links: true |
| 10 | verify_host: true |
| 11 | rsync_opts: |
| 12 | - --include=**/*nose_results.html |
| 13 | - --include=*/ |
| 14 | - --exclude=* |
| 15 | - --prune-empty-dirs |
| 16 | |
| 17 | - name: Copy files from {{ ansible_user_dir }}/workspace/ on node |
| 18 | synchronize: |
| 19 | src: '{{ ansible_user_dir }}/workspace/' |
| 20 | dest: '{{ zuul.executor.log_root }}' |
| 21 | mode: pull |
| 22 | copy_links: true |
| 23 | verify_host: true |
| 24 | rsync_opts: |
| 25 | - --include=**/*testr_results.html.gz |
| 26 | - --include=*/ |
| 27 | - --exclude=* |
| 28 | - --prune-empty-dirs |
| 29 | |
| 30 | - name: Copy files from {{ ansible_user_dir }}/workspace/ on node |
| 31 | synchronize: |
| 32 | src: '{{ ansible_user_dir }}/workspace/' |
| 33 | dest: '{{ zuul.executor.log_root }}' |
| 34 | mode: pull |
| 35 | copy_links: true |
| 36 | verify_host: true |
| 37 | rsync_opts: |
| 38 | - --include=/.testrepository/tmp* |
| 39 | - --include=*/ |
| 40 | - --exclude=* |
| 41 | - --prune-empty-dirs |
| 42 | |
| 43 | - name: Copy files from {{ ansible_user_dir }}/workspace/ on node |
| 44 | synchronize: |
| 45 | src: '{{ ansible_user_dir }}/workspace/' |
| 46 | dest: '{{ zuul.executor.log_root }}' |
| 47 | mode: pull |
| 48 | copy_links: true |
| 49 | verify_host: true |
| 50 | rsync_opts: |
| 51 | - --include=**/*testrepository.subunit.gz |
| 52 | - --include=*/ |
| 53 | - --exclude=* |
| 54 | - --prune-empty-dirs |
| 55 | |
| 56 | - name: Copy files from {{ ansible_user_dir }}/workspace/ on node |
| 57 | synchronize: |
| 58 | src: '{{ ansible_user_dir }}/workspace/' |
| 59 | dest: '{{ zuul.executor.log_root }}/tox' |
| 60 | mode: pull |
| 61 | copy_links: true |
| 62 | verify_host: true |
| 63 | rsync_opts: |
| 64 | - --include=/.tox/*/log/* |
| 65 | - --include=*/ |
| 66 | - --exclude=* |
| 67 | - --prune-empty-dirs |
| 68 | |
| 69 | - name: Copy files from {{ ansible_user_dir }}/workspace/ on node |
| 70 | synchronize: |
| 71 | src: '{{ ansible_user_dir }}/workspace/' |
| 72 | dest: '{{ zuul.executor.log_root }}' |
| 73 | mode: pull |
| 74 | copy_links: true |
| 75 | verify_host: true |
| 76 | rsync_opts: |
| 77 | - --include=/logs/** |
| 78 | - --include=*/ |
| 79 | - --exclude=* |
| 80 | - --prune-empty-dirs |