Taking all of Ukraine wasn’t one of the goals. It was explicitly stated:
“In this regard, in accordance with Article 51 of Part 7 of the UN Charter, with the sanction of the Federation Council of Russia and in pursuance of the treaties of friendship and mutual assistance ratified by the Federal Assembly on 22 February this year with the Donetsk People’s Republic and the Luhansk People’s Republic, I decided to conduct a special military operation...
At the same time, our plans do not include the occupation of Ukrainian territories.”
https://www.spectator.co.uk/article/full-text-putin-s-declaration-of-war-on-ukraine
Their words, not mine.
Perhaps not directly, but he did want to reduce Ukraine to vassal state of Russia. Read Putin's address of February 21st. You will get a whole different understanding of his thinking.
Ukrainan konflikti/sota, Finnish discussion on the war in Ukraine.
Take a look at the map the President of Belarus is using.
The invasion was planned to go all the way to Ukraine's borders from Moldova to Poland.
Russia intended to take all of Ukraine.