Copy logs to launcher
Change-Id: Ibe0abe1c058b708b34799633f249c9b14426d993
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
diff --git a/playbooks/post.yaml b/playbooks/post.yaml
new file mode 100644
index 0000000..31570bc
--- /dev/null
+++ b/playbooks/post.yaml
@@ -0,0 +1,14 @@
+- hosts: all
+ tasks:
+ - name: Collect console log.
+ synchronize:
+ dest: "{{ zuul.launcher.log_root }}"
+ mode: pull
+ src: "/tmp/console.log"
+
+ - name: Collect tox logs.
+ synchronize:
+ dest: "{{ zuul.launcher.log_root }}/tox/"
+ mode: pull
+ src: "/home/zuul/workspace/src/{{ zuul.project }}/.tox/pep8/log/"
+