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:
parent
810b196e20
commit
c9915b7f3f
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue