Move ara output generation to post playbook
When there are issues, we hit POST FAILURE because ara generate gets
skipped. Move it.
Change-Id: Ib54f78c548999ed330d44e77ecbfc90944fec459
diff --git a/playbooks/zuul-stream/post-ara.yaml b/playbooks/zuul-stream/post-ara.yaml
new file mode 100644
index 0000000..e666d21
--- /dev/null
+++ b/playbooks/zuul-stream/post-ara.yaml
@@ -0,0 +1,14 @@
+- hosts: controller
+ tasks:
+
+ - name: Generate ARA html
+ command: ara generate html ara-output
+
+ - name: Compress ARA html
+ command: gzip --recursive --best ara-output
+
+ - name: Fetch ARA files
+ synchronize:
+ src: "{{ ansible_user_dir }}/ara-output"
+ dest: "{{ zuul.executor.log_root }}/stream-files"
+ mode: pull