AWX x GITLAB Integration

33 views
Skip to first unread message

Ricardo Augusto Santos

unread,
Dec 12, 2018, 1:03:14 PM12/12/18
to Ansible Project
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://g...@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

Apolinar Martinez Melchor

unread,
Dec 14, 2018, 6:04:34 PM12/14/18
to ansible...@googlegroups.com
In the ~/.ssh/config of home user awx, try:

Host gitlabserver.local
   Port 2222



Apolinar Martinez Melchor

Cel. +52 1 55 1507 1043


--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/570c6349-a26b-4338-b68e-f31ffb21cca3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages