I need to install new Python packages for some of the Ansible modules. I have referred the documentation which specifies creation of virtual environment and then installing the packages inside the venv in awx_task container. I have completed the steps. Post this, i cannot find any document describing how to reflect the changes in AWX which are made in the docker container. Can someone help with this?
I cannot find the steps anywhere which specifies what needs to be done post installation of packages inside docker container (AWX_TASK).
Out PoC on AWX is stuck because of this, any help would be appreciated.
The way we do it, is that we have a custom role we call in install.yml, called post-setup, and what it basically does, is to run some docker exec commands, that deploy or build our own modules and python libraries inside the containers.
For example, we pull our repo and link the libraries:
Thanks, but i guess that is for building fresh environment. In case, if i have already brought AWX up and made want to install new python libraries in existing awx containers and save the changes in docker containers, is there any document or can you please suggest the way to get that done?