Skip to content

APT Key registration failed for the default value #8

@rosds

Description

@rosds

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions