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

Host gitlabserver.local
   Port 2222



Apolinar Martinez Melchor
RHCP 100-229-053
<https://www.redhat.com/rhtapps/certification/verify/?certId=100-229-053>

Cel. +52 1 55 1507 1043
e-mail: [email protected]


El mié., 12 dic. 2018 a las 12:03, Ricardo Augusto Santos (<
[email protected]>) escribió:

> 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://[email protected]: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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/570c6349-a26b-4338-b68e-f31ffb21cca3%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/570c6349-a26b-4338-b68e-f31ffb21cca3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CADXjZM7bE%2BDi4ePEA9XcOx%2BvBrZ%2By6neJqQHBDuqjOxDzeFx-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to