Ansible can't find module

797 views
Skip to first unread message

Tiglath

unread,
Oct 28, 2014, 3:01:26 PM10/28/14
to ansible...@googlegroups.com
 
Error is
 

fatal: [sysname] => imported module support code does not exist at /usr/lib/python2.6/site-packages/ansible-1.6.6-py2.6.egg/ansible/module_utils/splitter.py

 I have splitter.py installed in my user local dir, however, and the dir is set in PYTHONPATH, but Ansible does not pick it up.  Is there an Ansible variable I can set to redirect its attention to the right place?    I don't think ansible_python_interpreter is it.   

Thanks

 

 

 

Sankalp Khare

unread,
Oct 29, 2014, 2:52:49 PM10/29/14
to ansible...@googlegroups.com
The documentation says:

Modules can be written in any language and are found in the path specified by ANSIBLE_LIBRARY or the --module-path command line option.

Michael DeHaan

unread,
Oct 30, 2014, 4:39:09 PM10/30/14
to ansible...@googlegroups.com
This sounds like you have a crossed up install running a newer ansible against an older library path or something weird to me.



--
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/7afdd204-7639-4c81-9d01-35b4272b686c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages