From fe55d47391c31b449a8bbbee7d8fc335ab619bd2 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Fri, 21 Jul 2023 02:40:04 +0200 Subject: [PATCH] docker --- debian12-docker.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian12-docker.yml b/debian12-docker.yml index 1815666..2d30c5a 100644 --- a/debian12-docker.yml +++ b/debian12-docker.yml @@ -14,6 +14,13 @@ url: https://download.docker.com/linux/debian/gpg 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 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"