mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update iiab-install
This commit is contained in:
parent
fc66341299
commit
c1b0524649
1 changed files with 6 additions and 2 deletions
|
@ -14,6 +14,8 @@ MIN_ANSIBLE_VER=2.5.6
|
||||||
|
|
||||||
export ANSIBLE_LOG_PATH="$CWD/iiab-install.log"
|
export ANSIBLE_LOG_PATH="$CWD/iiab-install.log"
|
||||||
|
|
||||||
|
echo -e "\n\n./iiab-install BEGUN IN /opt/iiab/iiab\n"
|
||||||
|
|
||||||
if [ ! -f /etc/ansible/facts.d/local_facts.fact ]; then
|
if [ ! -f /etc/ansible/facts.d/local_facts.fact ]; then
|
||||||
mkdir -p /etc/ansible/facts.d
|
mkdir -p /etc/ansible/facts.d
|
||||||
fi
|
fi
|
||||||
|
@ -109,8 +111,8 @@ if [ -f /etc/iiab/iiab.env ]; then
|
||||||
echo -e "\nEXITING: STAGE (counter) in /etc/iiab/iiab.env shows Stage 9 Is Already Done."
|
echo -e "\nEXITING: STAGE (counter) in /etc/iiab/iiab.env shows Stage 9 Is Already Done."
|
||||||
echo "Use './iiab-install --reinstall' to force running all Stages 0-9."
|
echo "Use './iiab-install --reinstall' to force running all Stages 0-9."
|
||||||
echo "Use './iiab-install --debug' to run Stage 0, followed by Stages 3-9."
|
echo "Use './iiab-install --debug' to run Stage 0, followed by Stages 3-9."
|
||||||
echo "Use './runtags' to run a single Stage or Tag or Role."
|
echo "Use './runrole' to run a single Stage or Role."
|
||||||
echo -e "Use './iiab-network' to run Network sections.\n"
|
echo -e "Use './iiab-network' to run Network sections.\n\n"
|
||||||
exit 0 # allows rerunning http://d.iiab.io/6.6/install.txt
|
exit 0 # allows rerunning http://d.iiab.io/6.6/install.txt
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -142,3 +144,5 @@ echo -e "\nRunning local playbooks....Stage 0 will now run....followed by Stages
|
||||||
|
|
||||||
ansible -m setup -i $INVENTORY localhost --connection=local >> /dev/null
|
ansible -m setup -i $INVENTORY localhost --connection=local >> /dev/null
|
||||||
ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local
|
ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local
|
||||||
|
|
||||||
|
echo -e "\n./iiab-install COMPLETED IN /opt/iiab/iiab\n\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue