Project

General

Profile

Actions

Bug #63567

open

apt-key add is deprecated, must stop using ansible apt_key module

Added by Dan Mick 6 months ago. Updated 6 months ago.

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 #1

Updated by Dan Mick 6 months ago

  • Description updated (diff)
  • Category set to Infrastructure Service
  • Priority changed from Normal to Urgent
Actions #2

Updated by Dan Mick 6 months ago

  • Description updated (diff)
Actions #3

Updated by Dan Mick 6 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF