<p>So I figured I should start using Ansible Galaxy when possible, instead of writing my own roles. I just installed my first role and it was installed to <code>/etc/local/ansible/roles</code> (I am on OSX).</p>
<p>Now I wonder how you install this roles where I actually need it? Do I just copy the role to where I need it or is there an Ansible way of doing it?</p>

<p>Yes, you would copy them according to a sample project structure:</p>
<pre><code>site.yml
webservers.yml
fooservers.yml
kubernetes.yaml
roles/
   common/
     files/
     templates/
     tasks/
     handlers/
     vars/
     meta/
   webservers/
     files/
     templates/
     tasks/
     handlers/
     vars/
     meta/
   kubernetes/
     files/
     templates/
     tasks/
     handlers/
     vars/
     meta/
</code></pre>
<p>or you can just run <code>ansible-galaxy</code> with the <code>-p ROLES_PATH</code> or <code>--roles-path=ROLES_PATH</code> option to install it under <code>/your/project/root</code></p>
<p>You can also use the <code>/etc/local/ansible</code> directory as your project root if you'd like to.</p>
<p>Additionally, you can get help by running the command <code>ansible-galaxy install --help</code></p>
