The housing minister has rubbished claims local governments shouldn’t play a role in housing, taking aim at an independent candidate.