Set role in resources.