Departing Ancelotti has 'no problem' with Real Madrid
The veteran Italian will become Selecao boss on May 26, the day after Madrid's last La Liga match of the campaign.
The Spanish giants are yet to name a replacement, although Xabi Alonso is a strong favourite to take over after confirming he will leave Bayer Leverkusen.
The Brazilian football federation (CBF) announced Ancelotti's appointment on Monday, before any official confirmation from Madrid regarding Ancelotti's departure.
"The CBF issued that statement because I'll be the coach of Brazil from the 26th.