lae / ansible-role-proxmox

IaC for Proxmox VE clusters.
MIT License
496 stars 144 forks source link

apt-key is deprecated #227

Closed Andre15711 closed 1 year ago

Andre15711 commented 1 year ago

While testing with the pve 8.x keys, I saw this warning. apt-key module is deprecated. The code needs to be adjusted accordingly.

TASK [lae.proxmox : Trust Proxmox' packaging key] **************************************************************************************************************************************************************** fatal: [vm-host2]: FAILED! => changed=false cmd: /usr/bin/apt-key add - msg: Unable to add a key from binary data rc: 2 stderr: |- Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). gpg: no valid OpenPGP data found. stderr_lines: <omitted> stdout: '' stdout_lines: <omitted>

lexxxel commented 1 year ago

@Andre15711 this is a duplicate of #226 (you commented on it, too)