Delegating group of tasks in a role

Is there a way to delegate a group of tasks to a certain host from inside a role? As in, I want to run: pull a git repo, run composer install and make on one host then take the compiled files to other hosts in the role.

Does that make sense?

You have delegate_to: and with block: you can group task together