instance status check changed

@obernal Checking for instance status as ‘passed’ instead of checking if it is in running state. This is to ascertain that all instances are ready and app server is responding prior to initiating rolling deployment.