Cannot access /var/lib/awx/projects

Hello All,

I am new (3 days) to attempting to use AWX. I know this is most likely a duplicate post,
but have not really found the answer yet. Forgive the duplicate post.

Environment: Ubuntu 19.10, docker, docker-compose, and docker engine.
I cloned AWX from github.

The problem that I have is that this system cannot be connected to the internet.
I created a special vpn to allow the server to connect to the internet so I could run the install.yml file.
I did modify the inventory file for the above project_data_folder.

I was able to get the containers started running the install playbook.
Then I take the system off the internet - and it is configured for lan only.

apt runs fine

The demo hello world project runs fine.
The only thing I cannot do is connect to the /var/lib/awx/projects folder. I have yet to understand how
I might mount /var/lib/awx/projects to the awx_task container.

I am missing something here - I did think it would work out of the box, but no dice.
does AWX require a full-time internet connection to function?

I have no problem running ansible playbooks from the command line.

Suggestions are appreciated,

thanks

ewholz

Without an internet connection your obviously won’t be able to perform a project sync using an external git source.
However, job templates from manual projects should work without internet connection.

One common mistake people make is trying to use /var/lib/awx/pojects from their local machine rather than the one from the container running AWX.If you want to be able to use a directory on the local machine then you need to use the following setting to map the containers /var/lib/awx/projects to somewhere on your local machine:

AWX project data folder. If you need access to the location where AWX stores the projects

it manages from the docker host, you can set this to turn it into a volume for the container.

#project_data_dir=/var/lib/awx/projects

-John