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 #!/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." exit 1
echo "Exiting."
exit 1
fi fi
sed -i -e "s/openvpn_install: False/openvpn_install: True/" /etc/iiab/local_vars.yml sed -i -e "s/openvpn_install: False/openvpn_install: True/" /etc/iiab/local_vars.yml