Ansible.cfg location in AWX

1,093 views
Skip to first unread message

Władysław Borysow

unread,
Jul 19, 2021, 5:38:55 AM7/19/21
to AWX Project

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

Hiero-nymo

unread,
Aug 5, 2021, 2:18:09 AM8/5/21
to AWX Project
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 <awx namespace> <awx pod> -c <awx-instance-web> -- /bin/bash
- All project will be save into :
/var/lib/awx/projects/
From my side I didn't find any ansible.cfg file.
Hope it will help you...

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

Władysław Borysow

unread,
Aug 6, 2021, 5:52:02 AM8/6/21
to AWX Project
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
Reply all
Reply to author
Forward
0 new messages