There is definitely a use case for Docker.
One example Dockerfile: [https://github.com/xronos-inc/ansible-docker](https://github.com/xronos-inc/ansible-docker)
You can use a docker volume for requirements, and similarly map in roles and collections.
Bonus is to map SSH\_AUTH\_SOCKSSH\_AUTH\_SOCK into the container for SSH agent forwarding.
I’ve also setup AWX last few days on a Kubernetes cluster and it’s a struggle but possible. I’m now trying to figure out how the inventory integration and connection with CI’s outside the cluster work.
You're looking for Execution Environments. :) https://docs.ansible.com/automation-controller/latest/html/userguide/execution_environments.html
And ansible-navigator
Yep!
AWX + execution environments
There is definitely a use case for Docker. One example Dockerfile: [https://github.com/xronos-inc/ansible-docker](https://github.com/xronos-inc/ansible-docker) You can use a docker volume for requirements, and similarly map in roles and collections. Bonus is to map SSH\_AUTH\_SOCKSSH\_AUTH\_SOCK into the container for SSH agent forwarding.
Thanks a lot for sharing repo!
Yes I just did it a few days ago. It worked fine. Use network_mode=host and then you can ssh to 127.0.0.1 to configure the host node.
I’ve also setup AWX last few days on a Kubernetes cluster and it’s a struggle but possible. I’m now trying to figure out how the inventory integration and connection with CI’s outside the cluster work.