1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

XSCE -> IIAB

This commit is contained in:
Jerry Vonau 2017-10-24 11:39:49 -05:00
parent 0aedaa24fd
commit c606083553
5 changed files with 28 additions and 44 deletions

20
runtags
View file

@ -1,20 +1,20 @@
#!/bin/bash
# copy var files to /etc/iiab for subsequent use
#./install-init
# if not the first run, repo location is here
PLAYBOOK="iiab.yml"
INVENTORY="ansible_hosts"
# Pass cmdline options for ansible
ARGS="$@"
if [ -f /etc/iiab/iiab.env ]
then
. /etc/iiab/iiab.env
cd $XSCE_DIR
cd $IIAB_DIR
fi
if [ ! -f iiab.yml ]
CWD=`pwd`
if [ ! -f $PLAYBOOK ]
then
echo "XSCE Playbook not found."
echo "IIAB Playbook not found."
echo "Please run this command from the top level of the git repo."
echo "Exiting."
exit
@ -51,5 +51,5 @@ then
taglist="netvars,"$taglist
fi
export ANSIBLE_LOG_PATH="$XSCE_DIR/iiab-debug.log"
export ANSIBLE_LOG_PATH="$CWD/iiab-debug.log"
ansible-playbook -i ansible_hosts iiab.yml --connection=local --tags="""$taglist"""