Hi
I have a site spectific module for deploying cloud objects on Rackspaces
platform. The objects created are the following: networks, vyatta and
cloud servers. I use rax.py that i have symlinked to 4 inventory
directories. The purpose of the symylinking is to allow each environment
to be built independently. The virtual environment were created using
virtualenv --system-site-packages. Ansible has been installed system wide
on kubuntu 15.10 and the install of pyrax within virtual environment
Oddly when executing ansible-playbook rather than the execution using
virtualenvs python executable it defaults to using /usr/bin/python and
thats because the rax modules use #!/usr/bin/python as opposed to
#!/usr/bin/env python. The latter works.
The ansible_python_interpreter does not work and the following code
```
tasks:
- debug: msg="{{ ansible_python_interpreter }}"
```
outputs virtualenvs python executable
I was successfully using this without any hacks and it worked - now it does
not work. I cant quite get my head around this. I have used both
global ansible and virtualenvs ansible but non work.
Any help will mbe much appreciated
Kubuntu 15.10
Ansible 1.9.4.1
--
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/27137493-8806-4f5e-a09c-a9c3adc8083f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.