Hi,

Started discussing this on Twitter with a.o. @laserllama. I'm facing a nice 
(*) challenge:

- As a regular user (no special sudo / root privileges),
- I need to run Ansible from source
- on a Linux which has /usr/bin/python == Python 2.6.8
- with F-Secure SSH instead of OpenSSH

*) For small values of 'nice'


I'm encountering the following issues so far:

1) Ansible source seems to hard code "/usr/bin/python" (2.6.8).

I decided to go the "virtualenv" route, so I can at least install required 
Python modules in a specific 'ansible' virtualenv.
I'm still fighting PIP's refusal to talk through our SSL proxy.
  (ansible)$ pip --version
  pip 1.5.6 from /opt/local/python/ansible/lib/python2.6/site-packages 
(python 2.6)

I have other virtualenv's based on more recent (non-OS supplied) Python 
2.7.2, and they don't appear to have this issue.


2) Lots of OpenSSH-specific options are hard coded in ssh.py

F-Secure SSH is a completely different beast from OpenSSH; completely 
different set of options.
I've hacked around in ssh.py a bit, and progressed somewhat.


Any advice on the best way forward?
- Is there a proper way to use another Python when running Ansible from 
source?
- Anyone have experience getting Ansible to work with other SSH than 
OpenSSH?


Thanks,
  Ed.

-- 
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/acad7315-690e-464a-a6ab-5b2a59497f1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to