From a35c2ad35ed4aa5be85194d8bcf419bb0025272f Mon Sep 17 00:00:00 2001
From: "James E. Blair" <jeblair@redhat.com>
Date: Mon, 4 Sep 2017 16:08:15 -0700
Subject: [PATCH] Ignore errors from ara generate

If we use emit-ara-html in a base job post playbook, and it fails,
we won't upload the log files that we *do* have.

Ignore errors from ara generate and compress.

Also, let's call a space a space.

Change-Id: Ie6d41e829b0edb105d205997766c5d87022a16b5
---
 roles/emit-ara-html/tasks/main.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/roles/emit-ara-html/tasks/main.yaml b/roles/emit-ara-html/tasks/main.yaml
index 06194ed30..d22d8f979 100644
--- a/roles/emit-ara-html/tasks/main.yaml
+++ b/roles/emit-ara-html/tasks/main.yaml
@@ -11,8 +11,10 @@
 
 - name: Generate ARA html output
   command: "ara generate html {{ zuul.executor.log_root }}/ara"
+  ignore_errors: yes
   when: ara_command_type|succeeded and not ara_command_type|skipped
 
 - name: Compress ARA html output
   command: gzip --recursive --best {{ zuul.executor.log_root }}/ara
-  when: ara_compress_html | bool
+  ignore_errors: yes
+  when: ara_compress_html | bool