Category "apt-key"

How can I manage keyring files in trusted.gpg.d with ansible playbook since apt-key is deprecated?

Before apt-key was deprecated, I was using Ansible playbooks to add and update keys in my servers. At the moment, apt-key no longer updates the keys. In few sea

W: GPG error: Unknown error executing apt-key

While running "sudo apt-get update", I getting below error: Err:1 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease