Exchange control of two target permanents that share a permanent type.
Gaining control of a permanent doesn’t cause you to gain control of any Auras or Equipment attached to it.
If one of the target permanents is an illegal target when Role Reversal resolves, the exchange won’t happen.
If the same player controls both permanents when Role Reversal resolves, nothing happens.
Role Reversal’s effect lasts indefinitely. It doesn’t wear off during the cleanup step, and it doesn’t expire if the permanents stop sharing a permanent type after Role Reversal has resolved.
The permanent types are artifact, creature, enchantment, land, and planeswalker. Supertypes, like legendary, aren’t permanent types. For example, you can’t exchange control of a legendary creature with a legendary planeswalker.
You don’t have to control either target permanent.