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. On Thu, Oct 16, 2014 at 4:44 AM, Daniel Laird <[email protected] > wrote: > 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 > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/eb1f8ce6-f59e-4236-9333-3a45de00c633%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/eb1f8ce6-f59e-4236-9333-3a45de00c633%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgz38So_40Dib5Wj%2B54dVMPfZkFhcw3i3VR3S%3DzOMi9mLQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
