You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apt_key is depreciated and when running apt-get update locally you get the following
W: http://ppa.launchpad.net/deadsnakes/ppa/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.
W: http://packages.archivematica.org/1.15.x/ubuntu-externals/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.
- name: One way to avoid apt_key once it is removed from your distroblock:
- name: somerepo |no apt keyansible.builtin.get_url:
url: https://download.example.com/linux/ubuntu/gpgdest: /etc/apt/keyrings/somerepo.asc
- name: somerepo | apt sourceansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/myrepo.asc] https://download.example.com/linux/ubuntu {{ ansible_distribution_release }} stable"state: present
The text was updated successfully, but these errors were encountered:
apt_key is depreciated and when running apt-get update locally you get the following
Taken from https://docs.ansible.com/ansible/latest/collections/ansible/builtin/apt_repository_module.html this looks like the new way to manage GPG keys for the repositories.
The text was updated successfully, but these errors were encountered: