diff --git a/runansible b/runansible index 8b8e616ad..070108c65 100755 --- a/runansible +++ b/runansible @@ -20,7 +20,9 @@ then OLD=`grep XSCE /etc/iiab/iiab.env | wc -l` if [ "$OLD" != 0 ] then + echo "Found old XSCE install - re-installing from scratch" rm /etc/iiab/iiab.env + # check ansible version here and force ansible upgrade if needed else source /etc/iiab/iiab.env if [ ! $STAGE == 9 ] @@ -31,7 +33,8 @@ then then # place keeper echo "offer 'Y' dialog box and --debug option to override" - echo "need to rewrite STAGE= before ansible is called" + echo "need to rewrite STAGE= before ansible is called or rm iiab.env" + sleep 5 # exit 0 fi fi