Pre-validation of role dependency for ambari