Running remote playbooks

So I am pretty new to AWX and ansible in general and had a question. I have a situation where I have cloned the AWX repo into the /tmp/ folder on a remote docker swarm container. I want to run AWX from there and want to run the playbook from my local the same way I run the playbook to setup the docker swarm environment. I thought that using import_playbook would work, but it only seems to search the local and not the remote and doesn’t seem to support any other parameters, like remote_src. This seems liek this is something that should be possible and I believe I am just not knowledgeable enough to figure it out yet. Any advice would be appreciated.