Yes.
When a role is installed, any dependencies are automatically installed
as well (from
https://galaxy.ansible.com/docs/using/installing.html#dependencies).
Running playbooks (i.e. deploying infrastructure) does not magically
pull in remote content.
So with ansible-galaxy you make sure all the roles etc are in place.
And then you playbooks can use them.
Dick
--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT