How to add git repositories for embedded ansible behind proxy

hammer

#1

Hi guys,
I am trying to add a ansible git repository from a private gitlab server on the ManageIQ appliance.
After some time it fails with a timeout error.

I am using the Hammer-2 instance. The ManageIQ appliance is also running behind a company proxy server.

Below you see the output that I get on the ManageIQ appliance.
I think the docker container for the embedded ansible is not able to reach the private gitlab server. Do you have any suggestions how to fix it?

Using /etc/ansible/ansible.cfg as config file

PLAY [all] *********************************************************************


TASK [delete project directory before update] **********************************
ok: [localhost]

TASK [check repo using git] ****************************************************
skipping: [localhost]

TASK [update project using git] ************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/git clone --origin origin 'https://$encrypted$:$encrypted$@gitlab.com/test/test.git' /var/lib/awx/projects/_7__test", "msg": "fatal: unable to access 'https://$encrypted$:$encrypted$@gitlab.com/test/test.git/': Operation timed out after 300014 milliseconds with 0 out of 0 bytes received", "rc": 128, "stderr": "fatal: unable to access 'https://$encrypted$:$encrypted$@gitlab.com/test/test.git/': Operation timed out after 300014 milliseconds with 0 out of 0 bytes received\\n", "stderr_lines": ["fatal: unable to access 'https://$encrypted$:$encrypted$@gitlab.com/test/test.git/': Operation timed out after 300014 milliseconds with 0 out of 0 bytes received"], "stdout": "Cloning into '/var/lib/awx/projects/_7__test'...\\n", "stdout_lines": ["Cloning into '/var/lib/awx/projects/_7__test'..."]}

PLAY RECAP *********************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1