Hello!
I’m an novice to Linux and Ansible, and am trying to expand my skill set. I’ve been playing around with Ansible for a little while, and decided we wanted to explore AWX to see about expanding the use for Ansible. I followed the instructions off of the GitHub page, and things seemed to go okay, but once the containers are up, I goto the webpage for the AWX, and I get “A server error has occurred.”
I did a lot of googling around, and found I should be looking into the awx_task log, so I did so, and found this error:
`
django.db.utils.OperationalError: could not connect to server: No route to host
Is the server running on host "postgres" (172.18.0.2) and accepting
TCP/IP connections on port 5432?
`
I opened that port on the CentOS 8 firewall, but it would make sense to me that it would need to be opened on the postgres container instead. I’m also a giant novice to docker, and containers, so I’m really unsure what to do here.
I also referenced this website: https://www.linuxtechi.com/install-ansible-awx-docker-compose-centos-8/ for installation as well.
I’ve installed on a fresh install of CentOS 8, the only things I’ve done to the server were to realm join it, and configure automatic updates.
Installed using docker and docker compose.
2.9.3 ansible, and latest version of AWX, as I cloned it just Tuesday.
Thanks so much for any assistance!