Remove deprecated apt_key module

This commit is contained in:
Tobias Reisinger 2026-11-08 19:08:33 +01:00
commit 3517033108
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -12,18 +12,12 @@
update_cache: true
become: true
- name: Add Docker GPG apt Key
ansible.builtin.apt_key:
url: https://download.docker.com/linux/debian/gpg
keyring: /etc/apt/trusted.gpg.d/docker.gpg
state: present
become: true
- name: Add Docker Repository
ansible.builtin.deb822_repository:
name: docker
types: deb
uris: https://download.docker.com/linux/debian
signed_by: https://download.docker.com/linux/debian/gpg
suites: "{{ ansible_facts.lsb.codename }}"
components:
- stable