The city council voted 6-3 to pass the data center ordinance after a nearly five-hour meeting on Tuesday.