Update the test path for plugins

The plugin path was using the ansible root however to allow the plugins
to be loaded as a dependency it needs to be in the roles path, which is
handled in the integratged gate. This change pulls our test repo in
allignment with the integrated repo.

Change-Id: I0c914e2430ee609a6093482834eb145c3894dd42
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-03-02 06:38:45 -06:00 committed by Kevin Carter (cloudnull)
parent 96c01ad653
commit e9d40de780

View File

@ -180,6 +180,9 @@ if [ ! -d "${ANSIBLE_ROLE_DEP_DIR}" ] && [ -f "${ANSIBLE_ROLE_REQUIREMENTS_PATH}
ansible-playbook -i ${ANSIBLE_INVENTORY} \ ansible-playbook -i ${ANSIBLE_INVENTORY} \
${COMMON_TESTS_PATH}/get-ansible-role-requirements.yml \ ${COMMON_TESTS_PATH}/get-ansible-role-requirements.yml \
-v -v
if [[ ! -e "${ANSIBLE_ROLE_DEP_DIR}/plugins" ]]; then
ln -s "${ANSIBLE_PLUGIN_DIR}" "${ANSIBLE_ROLE_DEP_DIR}/plugins"
fi
fi fi