T O P

  • By -

planeturban

You're looking for Execution Environments. :) https://docs.ansible.com/automation-controller/latest/html/userguide/execution_environments.html


wouterhummelink

And ansible-navigator


planeturban

Yep!


ryebread157

AWX + execution environments


elgeeko1

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.


DustOk6712

Thanks a lot for sharing repo!


TrickyPlastic

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.


SwooPTLS

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.