Paul Belanger | 8f89c27 | 2017-02-26 13:27:03 -0500 | [diff] [blame] | 1 | - hosts: all |
| 2 | tasks: |
| 3 | - name: Collect console log. |
| 4 | synchronize: |
Paul Belanger | 174a827 | 2017-03-14 13:20:10 -0400 | [diff] [blame] | 5 | dest: "{{ zuul.executor.log_root }}" |
Paul Belanger | 8f89c27 | 2017-02-26 13:27:03 -0500 | [diff] [blame] | 6 | mode: pull |
| 7 | src: "/tmp/console.log" |
| 8 | |
| 9 | - name: Publish logs. |
| 10 | copy: |
| 11 | dest: "/opt/zuul-logs/{{ zuul.uuid}}" |
Paul Belanger | 174a827 | 2017-03-14 13:20:10 -0400 | [diff] [blame] | 12 | src: "{{ zuul.executor.log_root }}/" |
Paul Belanger | 8f89c27 | 2017-02-26 13:27:03 -0500 | [diff] [blame] | 13 | delegate_to: 127.0.0.1 |