1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
iiab/iiab-configure

13 lines
353 B
Text
Raw Normal View History

2019-10-10 05:05:02 +00:00
#!/bin/bash
INVENTORY="ansible_hosts"
PLAYBOOK="iiab-from-console.yml"
CWD=`pwd`
if [ ! -f $PLAYBOOK ]; then
echo "Exiting: IIAB Playbook not found."
echo "Please run this in /opt/iiab/iiab (top level of the git repo)."
exit 1
fi
export ANSIBLE_LOG_PATH="$CWD/iiab-configure.log"
ansible-playbook -i $INVENTORY $PLAYBOOK --connection=local