Project

General

Profile

Bug #63567

Updated by Dan Mick 6 months ago

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 deb822 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) 

Back