From c58bcf9f236b757f25331a8c16298c0db40ea815 Mon Sep 17 00:00:00 2001 From: Tomas Sedovic Date: Thu, 29 Sep 2016 12:21:40 +0200 Subject: [PATCH] Configure run-validation to use the custom output The validations now have a custom Ansible formatter that shows a better report on the validation run, what failed and why, etc. This makes it available to our Mistral workflows. Change-Id: Iebe26e3e2922dafc7f93837c4315cebf14563f6d Depends-On: I9730f2dd04868c5de46ae90bd545865d17aec530 Closes-Bug: #1625526 (cherry picked from commit c25c30bb0be55c6aa180e0ba1d0858e0d0b890fa) --- scripts/run-validation | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/run-validation b/scripts/run-validation index 0f4e4c3e8..0bf410d83 100755 --- a/scripts/run-validation +++ b/scripts/run-validation @@ -35,6 +35,9 @@ export ANSIBLE_PRIVATE_KEY_FILE=$IDENTITY_FILE export ANSIBLE_INVENTORY=$(which tripleo-ansible-inventory) +# Use the custom validation-specific formatter +export ANSIBLE_STDOUT_CALLBACK=validation_output + # Environment variable is the easiest way to pass variables to an Ansible # dynamic inventory script export TRIPLEO_PLAN_NAME=${PLAN_NAME}