Ansible.cfg location in AWX

Hello Colleagues,
I am a new user of AWX and I wanted to test some features of it. AWX was installed using AWX operator by minikube.
My 2 basic questions are:

  • which is the best way to interact with AWX file system and how to get to it?
  • where to find ansible.cfg and collections used by AWX located?

I tried looking on Tower documentation but seems AWX has it’s specifics because it is in container.
Thank You,
Władysław

Hi Władysław,

You’re right, not all is described in documentation. I think is because there’re too many features and possibilities with Ansible.

  • With AWX we’re working with project and mainly with Git. For this reason we doesn’t care to the config’s file into the system. When you really want to access the file, then you should connect on the awe-instance-web container, like:
    kubectl exec -it -n -c – /bin/bash
  • All project will be save into :
    /var/lib/awx/projects/
    Hope it will help you…

I don’t find the root password for this container too. Do you have any idea?
Best regards,
H.

Hi Hiero-nymo,

Thank you, you are right, after diving into Kubernetes I found the way how to get into pod’s files, but…I am still missing info about config, collections used by AWX.

For new people it would be good to have some kind of short info or table what is where (for ex. short info - check this container for this option).
Without any directions it is like a searching a needle in a haystack:(
Regards,
Wladyslaw