Offline AWX Launcher

Hi

We have compiled AWX in a non-corporate environment (no proxy) and was able to launch AWX.
The command was ansible-playbook -i inventory install.yml ( under awx/installer)
We then copied the Virtualbox image to our corporate environment (with proxy) and we were no longer able to launch AWX.
We noticed that this script tries to connect to the network to check if there are new updates etc.
Is there a way to have launch this offline so that it doesn’t perform tasks that need network connects.

Thanks
Jae Kim

AWX doesn’t try to connect to the network to check for updates. Can you show me where/what is making a network connection out to the open internet (post install)?

Maybe we are not suppposed to use the install.yml to launch AWX. What would be the correct way launch AWX?

We use install.yml to launch AWX and the network error happens in the image building stage, but the image has already been built.

install.yml does launch the playbook, not sure about the network error because you haven’t shown it to me

Hi there,

it happen with me also, when i run the ansible-playbook -i inventory install.yml:

TASK [local_docker : Activate postgres container] ****************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Error pulling postgres - code: None message: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:42358->[::1]:53: read: connection refused”}
to retry, use: --limit @/root/awx/installer/install.retry

my company proxy did not allow https://registry-1.docker.io/v2/? How can i avoid that?

Best Regards

quinta-feira, 14 de Setembro de 2017 às 13:30:58 UTC+1, Matthew Jones escreveu: