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,