Running multiple ansible version on awx against virtualenv

Hi there,

I have awx running as well, so I can run playbooks through it but I would like to have multiple ansible version (e.g 2.4 and 2.5) on awx since I aim to interact with different modules and don’t want to upgrade my existing ansible rather than create an isolated ansible version (2.5).

In order to cover, I learned from internet how virtualenv works with awx.
I created a virtual environment for ansible 2.5 by taping following commands in awx server:

virtualenv /var/lib/awx/venv/my-custom-venv
/var/lib/awx/venv/my-custom-venv/bin/pip install python-memcached psutil

/var/lib/awx/venv/my-custom-venv/bin/pip install -U "ansible == X.Y.Z"

All commands performed very well and I can verify through the browser that

my-custom-venv appeared in  https://my-awx-server/api/v2/config/

{
    "custom_virtualenvs": [
        "[/var/lib/awx/venv/my-custom-venv/](https://10.203.12.139:8443/var/lib/awx/venv/my-custom-venv/)",
        "[/var/lib/awx/venv/my-other-custom-venv/](https://10.203.12.139:8443/var/lib/awx/venv/my-other-custom-venv/)"
    ],
---

Fact : awx don't display my-custom-venv as selectable options 
for Organizations, Projects, and Job Templates 

Is there something missed ?

I am still learning awx that’s why I am looking for someone who can guide me.

Thanks in advance,

Interesting, can you report this as an issue in our issue tracker?

As an alternative you may can use our browseable api (via http://awxhost/api/ in your browser) to patch in the right path on the job template you are using. The browsable api has an input box if you navigate to the job template you are interested in (/api/v2/job_templates/n/, where n is the job template number).

Interesting, can you report this as an issue in our issue tracker?
Do you mean to push it here https://github.com/ansible/awx/issues

As an alternative you may can use our browseable api (via http://awxhost/api/ in your browser) to patch in the right path on the job template you are using. The browsable api has an input box if you navigate to the job template you are interested in (/api/v2/job_templates/n/, where n is the job template number).

yes, I was able to assign my_custom_env to an organization, or a project or a job template through the api but I can’t modify an existing organization with this method since just only GET, POST are supported.
But anyway, it works by adding a new organization.

Thanks Matthew,
Warmly