Merge "Update the location of the ARA callback" into stable/ocata
This commit is contained in:
commit
525e6a01ef
@ -96,11 +96,11 @@ else
|
||||
fi
|
||||
|
||||
# Link the ARA Callback directory to the the ansible callback directory
|
||||
if [ -d "${WORKING_DIR}/.tox/functional/lib/python2.7/site-packages/ara/callback/" ]; then
|
||||
if [ -d "${WORKING_DIR}/.tox/functional/lib/python2.7/site-packages/ara/plugins/callbacks" ]; then
|
||||
if [ ! -L "${ANSIBLE_PLUGIN_DIR}/callback/ara" ]; then
|
||||
echo "Linking ${ANSIBLE_PLUGIN_DIR}/callback/ara to ${WORKING_DIR}/.tox/functional/lib/python2.7/site-packages/ara/callback/"
|
||||
echo "Linking ${ANSIBLE_PLUGIN_DIR}/callback/ara to ${WORKING_DIR}/.tox/functional/lib/python2.7/site-packages/ara/plugins/callbacks/"
|
||||
mkdir -p "${ANSIBLE_PLUGIN_DIR}/callback/ara"
|
||||
ln -sf "${WORKING_DIR}/.tox/functional/lib/python2.7/site-packages/ara/callback/" "${ANSIBLE_PLUGIN_DIR}/callback/ara/"
|
||||
ln -sf "${WORKING_DIR}/.tox/functional/lib/python2.7/site-packages/ara/plugins/callbacks" "${ANSIBLE_PLUGIN_DIR}/callback/ara/"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user