updates
This commit is contained in:
Родитель
199dca3f83
Коммит
e03d0f4f8d
|
@ -15,4 +15,11 @@ fi
|
|||
FULL_PATH=`python -c "import os; print(os.path.realpath('$HACKING_DIR'))"`
|
||||
PRJ_LIBRARY="$FULL_PATH/library"
|
||||
|
||||
# we are going to set the ANSIBLE_LIBRARY path, which also needs to include
|
||||
# the installed library; so check to see if that is setup or not.
|
||||
|
||||
if [ -z "$ANSIBLE_LIBRARY" ]; then
|
||||
export ANSIBLE_LIBRARY=$(grep library /etc/ansible/ansible.cfg | awk '{ /(.*) = (.*)/; print $3 }')
|
||||
fi
|
||||
|
||||
[[ $ANSIBLE_LIBRARY != ${PRJ_LIBRARY}* ]] && export ANSIBLE_LIBRARY=$PRJ_LIBRARY:$ANSIBLE_LIBRARY
|
||||
|
|
Загрузка…
Ссылка в новой задаче