I’ve built AWX using the local docker method, but I’m not too familiar with docker. I’m trying to use the bigip_node module. When I run the job it says
python f5-sdk module is required
How do I get this installed in the docker image? It would normally be pip install f5-sdk on a host.
The dockerfile would be fairly simple you can use something along the lines of
Not sure if it’s AWX-task or web, but you could swap them out easily.
FROM ansible:awx-task
RUN pip install f5-sdk
And then you’d modify your inventory file used to install AWX to point to your new image. Assuming of course that pip is installed, if not you can extend the run statement to install pip first and then pip install the f5-sdk.