Improve output of build-and-deploy
This commit is contained in:
parent
c1f320ede2
commit
c45e488958
|
@ -87,9 +87,10 @@ for HOST in ${HOSTS[@]}; do
|
||||||
done
|
done
|
||||||
echo " done."
|
echo " done."
|
||||||
if [[ -n ${PRIMARY_NODE} && ${PRIMARY_NODE} == ${HOST} ]]; then
|
if [[ -n ${PRIMARY_NODE} && ${PRIMARY_NODE} == ${HOST} ]]; then
|
||||||
echo -n ">>> "
|
echo -n ">>> Setting node $HOST to primary coordinator state... "
|
||||||
ssh $HOST pvc -q node primary --wait
|
ssh $HOST pvc -q node primary --wait &>/dev/null
|
||||||
ssh $HOST $SUDO systemctl restart pvcworkerd &>/dev/null
|
ssh $HOST $SUDO systemctl restart pvcworkerd &>/dev/null
|
||||||
|
echo "done."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue