docker
This commit is contained in:
parent
72fb8f9a4e
commit
fe55d47391
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@
|
||||||
url: https://download.docker.com/linux/debian/gpg
|
url: https://download.docker.com/linux/debian/gpg
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Download /etc/apt/keyrings/docker.gpg
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: https://download.docker.com/linux/debian/gpg
|
||||||
|
dest: /etc/apt/keyrings/docker.gpg
|
||||||
|
mode: '0440'
|
||||||
|
|
||||||
|
|
||||||
- name: Add docker repository
|
- name: Add docker repository
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
|
repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
|
||||||
|
|
Loading…
Reference in a new issue