blob: ed3f7b8c99e2020b194b44cf23508dbc5a91f2cc [file] [log] [blame]
Paul Belanger8f89c272017-02-26 13:27:03 -05001- hosts: all
2 tasks:
3 - name: Collect console log.
4 synchronize:
Paul Belanger174a8272017-03-14 13:20:10 -04005 dest: "{{ zuul.executor.log_root }}"
Paul Belanger8f89c272017-02-26 13:27:03 -05006 mode: pull
7 src: "/tmp/console.log"
8
9 - name: Publish logs.
10 copy:
11 dest: "/opt/zuul-logs/{{ zuul.uuid}}"
Paul Belanger174a8272017-03-14 13:20:10 -040012 src: "{{ zuul.executor.log_root }}/"
Paul Belanger8f89c272017-02-26 13:27:03 -050013 delegate_to: 127.0.0.1