use rules from different git repos/locations

Hi Folks,
Can I use roles from several different git repos/locations to single ansible?
e.g.

Hi

What do you mean by “a single ansible”?

In any case where a role came from (git, in your case) is not relevant, just make sure they are available locally.

The roles docs are reasonably clear:

https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html

Hi,
I used the below option after copying the rules from git and it worked for me.

<b>- hosts: all
  roles:
    - server
    - /path/to/my/roles/common
    - /path/to/my/client_roles/client</b>

**My intention was to use roles from different locations in a playbook**
On Wednesday, February 12, 2020 at 5:49:08 PM UTC+5:30, Dick Visser wrote: