ansible-gitlab_runner icon indicating copy to clipboard operation
ansible-gitlab_runner copied to clipboard

APT Key registration failed for the default value

Open rosds opened this issue 8 years ago • 0 comments
trafficstars

Hello guys, I was trying to run the role for provisioning a vagrant box. I used pretty much all the default values except obviously the gitlab token. Everything went fine till the "Add gitlab-runner APT key" task which returned a rather lengthy error "Error fetching key 1A4C919DB...".

This, I learned afterwards, was being cause by the default value for the apt_key id "hkp://pool.sks-keyservers.net".

This issue was fixed by specifying the port 80 for that URL. So, simply changing "hkp://pool.sks-keyservers.net" for "hkp://pool.sks-keyservers.net:80" in the id argument (line 56 of tasks/main.yml) fixed the problem for me.

rosds avatar Feb 02 '17 12:02 rosds