Suppose I have a role called \"apache\"
Now I want to execute that role on host 192.168.0.10 from the command line from Ansible host
ansible-playbook
You could also check ansible-toolbox repository. It will allow you to use something like
ansible-role --host 192.168.0.10 --gather --user centos --become my-role