Same role - parts run on different servers

Hi,
I need to add new user to server1 and create his home directory on server2.
Do I must run those part in separate Ansible roles or it can be in the same role and I can tell on which server run which part of the role?
Thanks.

It can be in the same role, just use delegate_to on task(s) to run it on another host
https://docs.ansible.com/ansible/latest/playbooks_delegation.html#delegation