Repository navigation
Make apt_repository PPA repos use gpg instead of apt-key - #83835
andyfoston wants to merge 6 commits into
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!). |
|
Hi @andyfoston! Thank you very much for your submission to Ansible. It means a lot to us that you've taken the time to contribute. Unfortunately, we currently ask that first-time contributors only have one open pull request. This will help you to learn what an acceptable pull request is like and also help us keep up with the review queue. Since you already have an active pull request open at #83775, we are automatically closing this one for now. Once your other PR is merged or closed, please feel free to reopen this one or submit it again. Thank you for understanding! |
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