Installing additional packages into an AWX K8S setup

We have AWX installed in a Kubernetes cluster. Everything is working great, however we have found a need to install some additional packages (i.e. openvpn) so jobs running from AWX can make use of them. What is the best way to go about this?

Sounds like you need execution environments! (Assuming you’re AWX v18+) There’s some good resources around the internet

https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/

Interesting, so execution environments provide a “space” for additional resources to be installed and consumed by AWX during job runtime?

Exactly, any dependencies you guys need for your environment (Windows, hashi_vault, etc) you just throw at your execution environment. I’m a big fan of this feature because before we’d have to install it on the awx_task container which doesn’t provide consistency and makes your environment more adaptable.

Awesome, I got this working. Thanks for the suggestion. One more question, AWX spins up a container based on the ansible-builder image. I assume it destroys that container once the job is complete?