mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
provide ICO fuctionality at cmdline
This commit is contained in:
parent
b1ad64974e
commit
348bb700df
1 changed files with 12 additions and 0 deletions
12
iiab-configure
Executable file
12
iiab-configure
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
Loading…
Add table
Reference in a new issue