diff --git a/iiab-install b/iiab-install index 72fe0b2db..d901a148f 100755 --- a/iiab-install +++ b/iiab-install @@ -14,7 +14,7 @@ export ANSIBLE_LOG_PATH="$CWD/iiab-install.log" if [ ! -f $PLAYBOOK ]; then 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." exit 1 fi @@ -28,7 +28,7 @@ if [ $OS == "raspbian" ]; then echo "INSTALL INSTRUCTIONS: https://github.com/iiab/iiab/wiki/IIAB-Installation" exit 1 else - echo "Kernel looks ok - continuing" + echo "Kernel looks ok - continuing" fi fi @@ -58,8 +58,8 @@ else elif [ $STAGE == 9 ]; then # place keeper add read response # "offer 'Y' or stage number dialog box option to override" - echo "'iiab-install' has already been completed" - echo "use --debug to override " + echo "'iiab-install' has already been completed." + echo "Use --debug to override." #echo "In demo mode not preventing second run" echo "Exiting." exit 1 @@ -83,6 +83,6 @@ if [ ! -f ./vars/local_vars.yml ]; then esac fi -echo "Running local playbooks! " +echo "Running local playbooks!" ansible -m setup -i $INVENTORY localhost --connection=local >> /dev/null ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local