Moved keystone_service definition outside keystone the if statement for configure_user. It wasn't supposed to be there.