Coba jelasin 2014–2016 dari Tim nasional sepak bola Afrika Selatan dong

South Africa's first match under new coach, Ephraim Mashaba was a Group A qualifying match for AFCON 2015, played at Al-Merrikh Stadium against Sudan on 5 September 2014. South Africa won the match 3–0 with two goals from Sibusiso Vilakazi in the 55th and 61st minutes and a goal from Bongani Ndulula in the 78th minute. South Africa's second match in the AFCON qualifiers was a home match at Cape Town Stadium against Nigeria on 10 September. South Africa held off the defending AFCON champions for a 0–0 draw. Following these two matches, Bafana Bafana moved up two places to 67th in the FIFA world ranking.

South Africa then took on Congo at the Stade Municipal de Pointe-Noire on 11 October. The game was won 2–0 with goals from Bongani Ndulula and Tokelo Rantie in the second half. This victory brought South Africa to the top of Group A. Next was the return match in Polokwane's Peter Mokaba Stadium. The game ended in a 0–0 stalemate which kept South Africa at the top of the group. Following these two matches, South Africa climbed ten places in the FIFA rankings to no. 57.

Next up was the second match against Sudan on 15 November which was won 2–1, with goals from Thulani Serero in the 37th minute, and Tokelo Rantie in the 54th minute. The game was originally scheduled to be played at the Mbombela Stadium in Nelspruit, but it was moved to the Moses Mabhida Stadium in Durban in honour of captain and goalkeeper, Senzo Meyiwa who was shot and killed two weeks prior to the game. Coach Ephraim Mashaba said the win was for the fallen hero, who had not conceded a goal in the four qualifiers he had played. The result sealed qualification for South Africa, with an away game versus Nigeria to spare. It was the first time since 2008 that Bafana managed to qualify for the tournament (in 2013 they qualified as hosts after Libya exchanged their rights for security reasons).

The last game of the qualifiers was on 19 November at the Akwa Ibom Stadium in Uyo, Nigeria. It ended 2–2, therefore eliminating Nigeria and denying them the chance to defend their crown at 2015 AFCON. The coach Ephraim Mashaba had earlier said that South Africa would not do Nigeria any favours. It showed in the way that the South Africans approached the match. Tokelo Rantie missed a sitter in the fourth minute when he fluffed his chance over the bar, but he made amends when he opened the scoring in the 42nd minute after a neat pass from Dean Furman. It looked as if South Africa would get their first competitive win over Nigeria when Rantie doubled his and his country's tally in the 48th minute. But it wasn't to be, as they failed to hold on for a historic win. Nigeria came back to draw 2–2 but it wasn't enough to secure Nigeria's qualification as Congo beat Sudan 1–0 to book their place at the tournament.

Under Mashaba, South Africa failed to qualify for the 2017 Africa Cup of Nations. This, in addition to the various controversies, disparaging remarks that Mashaba allegedly made about SAFA top officials, his supposedly arrogant nature and his ill treatment of overseas based stars, led to his suspension after leading South Africa to a 2−1 victory over Senegal in a 2018 FIFA World Cup qualifier.