docker
This commit is contained in:
parent
e76e335dd4
commit
32af902cd4
1 changed files with 6 additions and 1 deletions
|
@ -16,9 +16,14 @@
|
||||||
dest: /etc/apt/keyrings/docker.gpg
|
dest: /etc/apt/keyrings/docker.gpg
|
||||||
mode: '0440'
|
mode: '0440'
|
||||||
|
|
||||||
|
- name: Add an Apt signing key, uses whichever key is at the URL
|
||||||
|
ansible.builtin.apt_key:
|
||||||
|
url: https://download.docker.com/linux/debian/gpg
|
||||||
|
state: present
|
||||||
|
|
||||||
- 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] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install a list of packages
|
- name: Install a list of packages
|
||||||
|
|
Loading…
Reference in a new issue