Remove debugging

This commit is contained in:
Sebastian Haderecker 2019-04-05 06:22:40 +00:00
parent 7ada64e16c
commit d099b90b98

View file

@ -38,7 +38,7 @@ echo "### Creating new ECS host via OTC API..."
--disktype SATA\
--az $az\
--wait \
#2> /dev/null
2> /dev/null
if [ "$(uname)" == "Darwin" ]; then
PUBIP=$(./otc-tools/otc.sh ecs list 2>/dev/null | grep $HPNAME|cut -d "," -f2 |cut -d "\"" -f 2)
@ -50,7 +50,7 @@ echo "[TPOT]" > ./hosts/$HPNAME
echo $PUBIP HPNAME=$HPNAME>> ./hosts/$HPNAME
echo "### NEW HOST $HPNAME ON IP $PUBIP"
#ansible-playbook -i ./hosts/$HPNAME ./ansible/install.yaml
ansible-playbook -i ./hosts/$HPNAME ./ansible/install.yaml
echo "***********************************************"
echo "***** SSH TO TARGET: "
echo "***** ssh linux@$PUBIP -p 64295"