From fe33600e85d1b6b2ff253aba817a88956be5abda Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Mon, 23 Jan 2017 11:40:48 +0100 Subject: [PATCH] Switching playbook order of execution Stackviz wasn't being executed when tempest have a failure, because post-tempest exits with tempest status code. So, once tempest fails, stackviz is not executed, not generating the report. Change-Id: Ia87eb11bc7d0d2cae4eb76481d446a63671a99e8 --- roles/validate-tempest/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/validate-tempest/tasks/main.yml b/roles/validate-tempest/tasks/main.yml index de3c1ecd9..7a88a1088 100644 --- a/roles/validate-tempest/tasks/main.yml +++ b/roles/validate-tempest/tasks/main.yml @@ -14,13 +14,13 @@ tags: - run-tempest -- include: post-tempest.yml - when: post_tempest|bool - tags: - - post-tempest - - include: stackviz.yml when: run_tempest|bool tags: - run-stackviz ignore_errors: yes + +- include: post-tempest.yml + when: post_tempest|bool + tags: + - post-tempest