Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Apt-key deprecated. GPG key does not get added from private repo. #11

Open
sh3llf1sh opened this issue Mar 24, 2022 · 1 comment
Open

Comments

@sh3llf1sh
Copy link

sh3llf1sh commented Mar 24, 2022

apt-key is deprecated and this module fails on clean run.

The playbook runs to the end but on apt update fails with NO PUBKEY error.

The repo source template points to /usr/share/keyrings/.gpg but doesn't copy the gpg keys to this location. It seems that the functionality of this module is broken.

OS: Ubuntu Bionic

@sh3llf1sh sh3llf1sh changed the title GPG key does not get added from private repo Apt-key deprecated. GPG key does not get added from private repo. Mar 24, 2022
@amineisi
Copy link

amineisi commented Dec 7, 2023

I confirm this behaviour for ubuntu/jammy.
basically the configuration file of the repository that is obtained via "{{ debian_config_file_url }}" is including a link to a local keyfile that is not present.

earlier in the play, the apt_key task imports the key but does not store this file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants