# Running multiple ansible version on awx against virtualenv

**URL:** <https://forum.ansible.com/t/running-multiple-ansible-version-on-awx-against-virtualenv/27362>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [April 24, 2018, 3:23pm UTC](https://forum.ansible.com/t/running-multiple-ansible-version-on-awx-against-virtualenv/27362 "2018-04-24T15:23:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamadouadaba](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mamadouadaba](https://forum.ansible.com/u/mamadouadaba)\
**Post date:** [April 24, 2018, 3:23pm UTC](https://forum.ansible.com/t/running-multiple-ansible-version-on-awx-against-virtualenv/27362/1 "2018-04-24T15:23:05Z")

</div>

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:

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

```

```auto
/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

```auto
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,

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [April 24, 2018, 5:13pm UTC](https://forum.ansible.com/t/running-multiple-ansible-version-on-awx-against-virtualenv/27362/2 "2018-04-24T17:13:31Z")

</div>

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/](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).

---

<div class="post-metadata">

**Author:** ![mamadouadaba](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mamadouadaba](https://forum.ansible.com/u/mamadouadaba)\
**Post date:** [April 24, 2018, 9:50pm UTC](https://forum.ansible.com/t/running-multiple-ansible-version-on-awx-against-virtualenv/27362/3 "2018-04-24T21:50:23Z")

</div>

> 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](https://github.com/ansible/awx/issues)

> As an alternative you may can use our browseable api (via [http://awxhost/api/](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
