Actions
Bug #63567
openapt-key add is deprecated, must stop using ansible apt_key module
Status:
New
Priority:
Urgent
Assignee:
-
Category:
Infrastructure Service
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
ansible's apt_key uses apt-key add, which has been deprecated for some time and is now obsolete. We must change our apt key management strategy in ansible code.
Perhaps the best answer is to use the new deb822_repository module:
https://www.jeffgeerling.com/blog/2022/aptkey-deprecated-debianubuntu-how-fix-ansible
More info at https://unix.stackexchange.com/questions/332672/how-to-add-a-third-party-repo-and-key-in-debian/582853#582853
and
https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key (which refers to the above)
https://wiki.debian.org/DebianRepository/UseThirdParty is much-cited as the authoritative source.
Actions