roles_path issues

44 views
Skip to first unread message

Daniel Laird

unread,
Oct 16, 2014, 4:44:15 AM10/16/14
to ansible...@googlegroups.com
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

Michael DeHaan

unread,
Oct 20, 2014, 5:09:44 PM10/20/14
to ansible...@googlegroups.com
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.



--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/eb1f8ce6-f59e-4236-9333-3a45de00c633%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages