1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

presentions tweaks

This commit is contained in:
A Holt 2017-11-08 02:28:00 -05:00 committed by GitHub
parent 84296a9de1
commit c63f4f671f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ export ANSIBLE_LOG_PATH="$CWD/iiab-install.log"
if [ ! -f $PLAYBOOK ]; then if [ ! -f $PLAYBOOK ]; then
echo "IIAB Playbook not found." echo "IIAB Playbook not found."
echo "Please run this command from the top level of the git repo." echo "Please run this command from /opt/iiab/iiab (top level of the git repo)."
echo "Exiting." echo "Exiting."
exit 1 exit 1
fi fi
@ -58,8 +58,8 @@ else
elif [ $STAGE == 9 ]; then elif [ $STAGE == 9 ]; then
# place keeper add read response # place keeper add read response
# "offer 'Y' or stage number dialog box option to override" # "offer 'Y' or stage number dialog box option to override"
echo "'iiab-install' has already been completed" echo "'iiab-install' has already been completed."
echo "use --debug to override " echo "Use --debug to override."
#echo "In demo mode not preventing second run" #echo "In demo mode not preventing second run"
echo "Exiting." echo "Exiting."
exit 1 exit 1
@ -83,6 +83,6 @@ if [ ! -f ./vars/local_vars.yml ]; then
esac esac
fi fi
echo "Running local playbooks! " echo "Running local playbooks!"
ansible -m setup -i $INVENTORY localhost --connection=local >> /dev/null ansible -m setup -i $INVENTORY localhost --connection=local >> /dev/null
ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local