Coordinating with Ansible running on separate machine.

Hallo Everyone,
We have ansible running on an Ubuntu 18.04 Machine and AWX installed as a Kubernetes Services on another machine. But these two machine are in the same Azure network.
When we have these two on same machine they can coordinate with each other.
Can someone shed some light on this issue. How do AWX (running on Kubernetes in a machine) will connect to Ansible (which is running to a different machine). Where are the actual configuration in AWX made?
Any help will be highly appreciated.

Thanks in advance.
Yogesh

Why do you have both? AWS is meant to be your control point for all things ansible. This doesn’t make sense.