The federal government today announced a two-year extension to its foreign buyer ban in what it says is an effort to make housing more affordable for Canadians.