Ansible roles don’t have a way of defining pre and post tasks.
They are usually defined as a way to do things before applying generic tasks/roles, like load balancing, and it would be a little confusing to have them in the list of roles when some steps would be executed out of order.