roles_path issues

All,

I am fairly sure I am being stupid but…
I have some roles somewhere on my PC.
I have added to the roles_path setting in both the local dir and /etc/ansible/ansible.cfg

However when it runs it fails to find the role.
More annoyingly the message tells me where it looked and it does not even print out the path I have added to the roles_path variable.
I tested by adding /bob/ to my roles_path setting and when it runs I get:
ERROR: cannot find role in somedir or anotherdir

But no mention of even trying to look in /bob

Any clues on how to debug or what I might be doing wrong?

Cheers
Dan

Sounds like you have roles_path set in a config file that ansible is not reading, because it’s likely in the wrong place, which /etc/ansible/ansible.cfg is not wrong - so perhaps you have the roles_path in a different config section.

I’d need to see the config file to say.