I’m using in my saltstack formulas creating of repositories in a debian template e.g.
- name: deb stable non-free - file: /etc/apt/sources.list.d/spotify-client.list - humanname: spotify - keyid: 5E3C45D7B312C643 - keyserver: keys.openpgpg.org - gpgkey: - gpgcheck: 1 Unfortunately, I get this error after execution: ID: add-repo Function: pkgrepo.managed Name: deb stable non-free Result: False Comment: Failed to configure repo ‘deb [trusted=yes] stable non-free’: Error: key retrieval failed: Executing: /tmp/apt-key-gpghome.xyY44SvGz1/gpg.1.sh --batch --keyserver keys.openpgpg.org --logger-fd 1 --recv-keys 5E3C45D7B312C643 gpg: keyserver receive failed: Network is unreachable Any ideas how to fix that? Is that connected that templates are using a proxy for outbound connections which salt is not able to use for retrieving keys? Btw. none of the options works: keyid + keyserver nor gpgkey. I just added both of the in the salt snipped. Thanks! P.