From a4896cac336500c37a83c917b105fb9b1043c97a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=20Gl=C3=A4=C3=9F-St=C3=B6cker?= Date: Mon, 19 Sep 2022 20:31:24 +0200 Subject: [PATCH 1/2] install the docker compose plugin --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 5bcc27a..0fc75b6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -31,6 +31,7 @@ - docker-ce - docker-ce-cli - containerd.io + - docker-compose-plugin state: present - name: Configure docker daemon From 03a6c15cbd69c944b4703e5f4cf6ee3bfad7d7e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=20Gl=C3=A4=C3=9F-St=C3=B6cker?= Date: Mon, 19 Sep 2022 20:47:25 +0200 Subject: [PATCH 2/2] make the deb repo autoconfigure aka use the ansible_distribution and ansible_distribution_release vars --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0fc75b6..53cdd5a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,7 +18,7 @@ - name: Ensure docker repository is available apt_repository: - repo: deb https://download.docker.com/linux/debian buster stable + repo: deb https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable state: present notify: Update apt cache