Spaniard spent three successful years at the German club and was informed of their decision over dinner with the president.
Manchester City manager Guardiola 'satisfied' with Bayern Munich's choice for Ancelotti's successor
Pep Guardiola has been told the identity of the next Bayern Munich manager and is "satisfied" with the choice, according to the German club's president.
Carlo Ancelotti was sacked last week following Bayern's heavy defeat to Paris Saint-Germain in the Uefa Champions League. Bayern are also stuttering in the Bundesliga and trail rivals Borussia Dortmund by five points.
- Virgil van Dijk: In-demand defender keen to assess options 'halfway through season'
- Watch: Barcelona's Gerard Pique faces hostile reception at Madrid open training
- Exclusive: Robbie Kruse talks to John McAuley ahead of Australia's 2018 World Cup play-off against Syria
Former Dortmund manager Thomas Tuchel, Hoffenheim's Julian Nagelsmann, and former Barcelona manager Luis Enrique have all been linked with the vacancy. Dutchman Louis van Gaal has also been linked with a return to the club six years after his first spell in charge.
Guardiola spent three successful years at Bayern, winning the league every season and securing the Bundesliga-German Cup double in his first and final years.
The Spaniard, now in charge at Premier League club Manchester City, dined with Bayern president Uli Hoeness in Munich on Tuesday during which Hoeness discussed Ancelotti's successor.
"It was a meeting between friends, but of course we have also spoken about professional matters," Hoeness told German media outlet Abendzeitung. "I told him who we were going to recruit [as the new Bayern manager] in the next few days and he was satisfied."
Guardiola, who also enjoyed four illustrious years as Barcelona manager, has led City to the top of the Premier League table, recently defeating champions Chelsea at Stamford Bridge on Saturday.