From 32af902cd49d21cc32bdaa8e0ed1f3fff900a00f Mon Sep 17 00:00:00 2001 From: kekskurse Date: Fri, 21 Jul 2023 03:05:43 +0200 Subject: [PATCH] docker --- debian12-docker.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debian12-docker.yml b/debian12-docker.yml index 84b7d27..1e4382e 100644 --- a/debian12-docker.yml +++ b/debian12-docker.yml @@ -16,9 +16,14 @@ dest: /etc/apt/keyrings/docker.gpg 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 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 - name: Install a list of packages