Morales is a close ally of Venezuelan President Hugo Chavez , whose has long nettled Washington with his attempts to align other Latin American states with his far-left positions inspired by the communist Cuban government .