-
Notifications
You must be signed in to change notification settings - Fork 24.1k
Make apt_repository PPA repos use gpg instead of apt-key #83835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
Conversation
apt-key has been deprecated, so this has been switched to use gpg instead. Also, the --keyserver option for gpg has also been deprecated, so use of this has also been removed.
This comment was marked as resolved.
This comment was marked as resolved.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@andyfoston When we discussed this in triage today, we came to the consensus that it's probably time to deprecate apt_repository (and apt_key). There is already a good replacement which uses the recommended approach for handling keys, adding the key to the specific repo as opposed to globally. Sorry for not considering this before sending you down a rabbit hole (and thanks for taking an interest in fixing it!). |
SUMMARY
Make
apt_repositoryPPA repos use gpg instead of apt-key as this is now deprecated.Also, the
--keyserverGPG option is also deprecated, so this part of the functionality has been replaced with Ansible'sfetch_fileFinally, the GPG key is now pulled from the Ubuntu keyserver over HTTPS instead of HTTP.
ISSUE TYPE
ADDITIONAL INFORMATION
This follows these instructions for adding external repositories