After adding "ppa:ondrej/php" via "apt_repository" module and then execute "apt update" it throw the following error:
W: http://ppa.launchpad.net/ondrej/php/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
When adding the repo on the server via "add-apt-repository -y ppa:ondrej/php" it adds the correct repo and no error occurs
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9cfebdc2-44aa-4c07-b521-60e87b13692dn%40googlegroups.com.
The apt-key command has been deprecated and suggests to 'manage keyring files in trusted.gpg.d instead'. See the Debian wiki for details. This module is kept for backwards compatiblity for systems that still use apt-key as the main way to manage apt repository keys.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2237467f-3827-4bf7-8b0f-f0d5baf39af3n%40googlegroups.com.