RHEL and similar OSes have Software Collections (SCL): 
https://www.softwarecollections.org.
Some typical ways to use Python 3.4 from SCL, for example:

yum -y install rh-python34

Interactive:
  scl enable rh-python34 bash
Scripted:
  echo pip3 install Django==1.7 | scl enable rh-python34 -
Scripted(alt):
  #!/bin/bash
  source /opt/rh/rh-python34/enable
  pip3 install Django==1.7

Is there any general way to support SCL with Ansible?
Or even a specific way to force the pip module to work with it?
I'm trying to decide whether Ansible has enough advantage over shell 
scripts for deploying this particular application.

-- 
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/e83ee69f-7c4d-4fc4-9a4e-0b28c97b9e32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to