mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update install-support
This commit is contained in:
parent
810b196e20
commit
c9915b7f3f
1 changed files with 5 additions and 7 deletions
|
@ -1,16 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PLAYBOOK="iiab-base.yml"
|
PLAYBOOK="iiab-support.yml"
|
||||||
INVENTORY="ansible_hosts"
|
INVENTORY="ansible_hosts"
|
||||||
CWD=`pwd`
|
CWD=`pwd`
|
||||||
|
|
||||||
export ANSIBLE_LOG_PATH="$CWD/iiab-install.log"
|
export ANSIBLE_LOG_PATH="$CWD/iiab-install.log"
|
||||||
|
|
||||||
if [ ! -f $PLAYBOOK ]
|
if [ ! -f $PLAYBOOK ]; then
|
||||||
then
|
echo -e "\nEXITING: $PLAYBOOK not found.\n"
|
||||||
echo "IIAB Playbook not found."
|
echo -e "Please run this command from /opt/iiab/iiab (top of git repo).\n"
|
||||||
echo "Please run this command from the top level of the git repo."
|
|
||||||
echo "Exiting."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue