The mayor and council shall have full power and authority to provide for fire protection, to organize, operate, maintain, and equip a fire department, either paid or volunteer, and to provide such buildings as necessary to house the same and to make, enact, pass, and adopt such ordinances, rules, and regulations necessary to promote the protection of the inhabitants of the city against fire or fire hazards. To condemn buildings and cause their removal when they become or are likely to become a fire hazard or fire trap or where such buildings endanger by being or becoming a fire hazard or fire trap. To pass, enact, and adopt such ordinances and procedures to enforce removal of such hazards and to promote the protection of all citizens from a fire hazard consistent with the laws of this state.