Fetching details from the dictionary...

assigned role; duty; position
suitable role; best-suited job
「役所」 has another reading with different meanings.
彼は俳優として与えられた役所を見事に全うした。
He fulfilled his role as an actor.
今回のドラマで彼が演じる役所は難しいものだった。
This assigned role was difficult.
オーディションの結果彼女はその役所にぴったりだ。
She is perfect for that role.