From 0f0d9bd2e255084f220e2d5f09b9f2c004690a2f Mon Sep 17 00:00:00 2001
From: Paul Belanger <pabelanger@redhat.com>
Date: Thu, 23 Jan 2020 00:30:12 +0000
Subject: [PATCH] Revert "Make ara-report role to zuul_return an artifact"

This seems to introduce the following error with Ansible 2.9

 "The conditional check 'not ara_generated | skipped' failed.
 The error was: template error while templating string: no filter named 'skipped'.

This reverts commit 262c16b30583f634588f5a52bd7aab944687a8a4.

Change-Id: Id6c62da8f8a94c270d8a5d5981683a9d8c4e7ad6
---
 roles/ara-report/tasks/main.yaml | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/roles/ara-report/tasks/main.yaml b/roles/ara-report/tasks/main.yaml
index 4d708a4b0..d4bf38fd7 100644
--- a/roles/ara-report/tasks/main.yaml
+++ b/roles/ara-report/tasks/main.yaml
@@ -60,14 +60,6 @@
       when:
         - ara_compress_html | bool
         - not ara_generated | skipped
-    - name: Return ARA report
-      when: not ara_generated | skipped
-      zuul_return:
-        data:
-          zuul:
-            artifacts:
-               - name: ARA report
-                 url: "{{ ara_report_path }}"
   rescue:
     - name: HTML generation rescue
       debug:
@@ -88,10 +80,3 @@
 
     - name: Save the ARA database
       command: cp {{ ara_database_path }} {{ final_ara_report_path }}
-    - name: Return ARA report
-      zuul_return:
-        data:
-          zuul:
-            artifacts:
-               - name: ARA report
-                 url: "{{ ara_report_path }}"