diff --git a/tests/test-neutron-upgrades.sh b/tests/test-neutron-upgrades.sh index cc904ff0..5d9d4ffd 100755 --- a/tests/test-neutron-upgrades.sh +++ b/tests/test-neutron-upgrades.sh @@ -37,6 +37,7 @@ export WORKING_DIR=${WORKING_DIR:-$(pwd)} export ROLE_NAME=${ROLE_NAME:-''} export ANSIBLE_PARAMETERS=${ANSIBLE_PARAMETERS:-"-vvv"} +export ANSIBLE_OVERRIDES=${ANSIBLE_OVERRIDES:-$WORKING_DIR/tests/os_neutron-overrides.yml} export TEST_PLAYBOOK=${TEST_PLAYBOOK:-$WORKING_DIR/tests/test-upgrade.yml} export TEST_CHECK_MODE=${TEST_CHECK_MODE:-false} export TEST_IDEMPOTENCE=${TEST_IDEMPOTENCE:-false} @@ -53,7 +54,7 @@ echo "TEST_IDEMPOTENCE: ${TEST_IDEMPOTENCE}" function execute_ansible_playbook { - export ANSIBLE_CLI_PARAMETERS="${ANSIBLE_PARAMETERS}" + export ANSIBLE_CLI_PARAMETERS="${ANSIBLE_PARAMETERS} -e @${ANSIBLE_OVERRIDES}" CMD_TO_EXECUTE="ansible-playbook ${TEST_PLAYBOOK} $@ ${ANSIBLE_CLI_PARAMETERS}" echo "Executing: ${CMD_TO_EXECUTE}"