Samnang Sen
2015-07-24 19:42:55 UTC
When I run Ansible from source by sourcing the env-setup file under the
hacking folder, I'm able to run Ansible just fine. So now I want to run it
via an RPM that i built for my RH5 hosts. When I run "ansible --version" I
get the following ...
# ansible --version
ansible 1.9.2
configured module search path = None
So i went digging into the env-setup file and noticed the PYTHONPATH is
pointed to ~/ansible/lib. The libraries from my RPMs are installed under
/usr/lib/python2.6/site-packages. If I export PYTHONPATH pointing to that
path it doesn't appear to be working. What am I doing wrong?
hacking folder, I'm able to run Ansible just fine. So now I want to run it
via an RPM that i built for my RH5 hosts. When I run "ansible --version" I
get the following ...
# ansible --version
ansible 1.9.2
configured module search path = None
So i went digging into the env-setup file and noticed the PYTHONPATH is
pointed to ~/ansible/lib. The libraries from my RPMs are installed under
/usr/lib/python2.6/site-packages. If I export PYTHONPATH pointing to that
path it doesn't appear to be working. What am I doing wrong?
--
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-project+***@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/0f41b4d7-3e74-48f5-9939-e56eb90bbbd1%40googlegroups.com.
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 ansible-project+***@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/0f41b4d7-3e74-48f5-9939-e56eb90bbbd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.