+# proceed only if the deployment is done on openstack
+if [[ $DEPLOY_TYPE != "cloud" ]]; then
+ echo "-------------------------------------------------------------------------"
+ echo "Info: It is not an OpenStack deployment so nothing to delete!"
+ echo "-------------------------------------------------------------------------"
+ exit 0
+fi
+
+if [[ "$DELETE_STACK" != "yes" ]]; then
+ echo "-------------------------------------------------------------------------"
+ echo "Info: Stack will not be deleted upon the completion of the job!"
+ echo "-------------------------------------------------------------------------"
+ exit 0
+fi
+
+echo
+echo
+echo "-------------------------------------------------------------------------"
+echo "Info: Please wait while deleting the stack and do not abort the job!"
+echo "-------------------------------------------------------------------------"
+echo
+echo