1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

Update install-support

This commit is contained in:
A Holt 2018-09-02 23:51:28 -04:00 committed by GitHub
parent 810b196e20
commit c9915b7f3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,15 @@
#!/bin/bash
PLAYBOOK="iiab-base.yml"
PLAYBOOK="iiab-support.yml"
INVENTORY="ansible_hosts"
CWD=`pwd`
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 "Exiting."
exit 1
if [ ! -f $PLAYBOOK ]; then
echo -e "\nEXITING: $PLAYBOOK not found.\n"
echo -e "Please run this command from /opt/iiab/iiab (top of git repo).\n"
exit 1
fi
sed -i -e "s/openvpn_install: False/openvpn_install: True/" /etc/iiab/local_vars.yml