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
This commit is contained in:
Tomas Sedovic 2016-09-29 12:21:40 +02:00
parent f9bd99c063
commit c25c30bb0b
1 changed files with 3 additions and 0 deletions

View File

@ -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}