Remove deprecated apt_key module
This commit is contained in:
parent
5560912b43
commit
3517033108
1 changed files with 1 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue