I've been trying to solve this error for 6-7 hours, but I couldn't succeed. Please help. Thank you in advance Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
What commands (exactly) should replace the deprecated apt-key? How can I manage keyring files in trusted.gpg.d with ansible playbook since apt-key is deprecated? W: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details Cassandra keyring issue Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead I tried almost every link similar to these but I can't solve the problem.