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 c25c30bb0b
)
This commit is contained in:
parent
ae49ca29c7
commit
c58bcf9f23
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user