# AWX x GITLAB Integration

**URL:** <https://forum.ansible.com/t/awx-x-gitlab-integration/29249>\
**Category:** Ansible Project\
**Tags:** awx\
**Created:** [December 12, 2018, 6:03pm UTC](https://forum.ansible.com/t/awx-x-gitlab-integration/29249 "2018-12-12T18:03:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo\_Augusto\_Sant](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@Ricardo\_Augusto\_Sant](https://forum.ansible.com/u/Ricardo_Augusto_Sant)\
**Post date:** [December 12, 2018, 6:03pm UTC](https://forum.ansible.com/t/awx-x-gitlab-integration/29249/1 "2018-12-12T18:03:14Z")

</div>

Hello everyone!  
I’m trying to integrate AWX x GITLAB and I receiving below issue:

“msg”: “ssh: Could not resolve hostname gitlabserver.local: Name or service not known\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.”

This is my repo: ssh://git@gitlabserver.local:2222/ansible/Ansible.git

My GITLAB is working on Docker Container and your SSH PORT is 2222. AWX is trying connect in port 22 (local server).

Can I change this on AWX?

Note: I have most repos working fine with Jenkins in same GITLAB.

Tks

Att,  
Ricardo Santos

---

<div class="post-metadata">

**Author:** ![Apolinar\_Martinez\_Me](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Apolinar\_Martinez\_Me](https://forum.ansible.com/u/Apolinar_Martinez_Me)\
**Post date:** [December 14, 2018, 11:04pm UTC](https://forum.ansible.com/t/awx-x-gitlab-integration/29249/2 "2018-12-14T23:04:14Z")

</div>

In the ~/.ssh/config of home user awx, try:

Host gitlabserver.local  
Port 2222
