here the problem!!!
Because when every of them create their job template and assign it to their custom venv, they won't able to run their playbook at the same time since the file /etc/ansible/ansible.cfg is common for them.
For instance,
- X creates his template and assign it to custom venv named custom_venv_X
So if he want to run the playbook, He must edit the file /etc/ansible/ansible.cfg inside awx_task container by setting the library line with for example
library = /var/lib/awx/venv/custom_venv_X/lib/python2.7/site-packages/ansible
- Y creates his job template and assign it to custom venv named custom_venv_Y
If he want to run his job template, he will edit the same /etc/ansible/ansible.cfg file used by X, so he'll change the library line for example
library = /var/lib/awx/venv/custom_venv_Y/lib/python2.7/site-packages/ansible
Indeed after ansible.cfg being changed by Y, if X run at this time his playbook, it will fail.
It's the fact, AWX doesn't allow to run multiple job templates with different custom virtual environments at the same time.
note : I tried to set path modules like that
library = /var/lib/awx/venv/custom_venv_X/lib/python2.7/site-packages/ansible, /var/lib/awx/venv/custom_venv_Y/lib/python2.7/site-packages/ansible
And after running job templates of X and Y.
Result : only job template of Y succeed.
So If you know other method, please let me know.
Thanks in advance