Bigip modules with docker local

Hello,

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.

Thank you,

Jeremiah

I think you’d need to build your own image.

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.

Michael,

Thank you for your reply! Where are the docker files in the project? Is it awx/installer/roles/image_build/templates/?

Thanks,

Jeremiah

https://store.docker.com/community/images/ansible/awx_web

The other three containers are also on store.docker.com

You can pull them down with the docker pull command listed on the right of that page.