From 1bad0cbc1854a2a061dabb6b37266158b3d2dabf Mon Sep 17 00:00:00 2001 From: Or Bin Date: Fri, 24 Dec 2021 00:33:43 +0200 Subject: [PATCH 1/2] Extracted docker_compose_arch variable from docker_compose_url --- defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 1b9de37..9d8b2c1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -12,7 +12,8 @@ docker_restart_handler_state: restarted # Docker Compose options. docker_install_compose: true docker_compose_version: "1.26.0" -docker_compose_url: https://github.com/docker/compose/releases/download/{{ docker_compose_version }}/docker-compose-Linux-x86_64 +docker_compose_arch: x86_64 +docker_compose_url: "https://github.com/docker/compose/releases/download/{{ docker_compose_version }}/docker-compose-Linux-{{ docker_compose_arch }}" docker_compose_path: /usr/local/bin/docker-compose # Docker repo URL. From ffb34275d29f9c9730c1d4f25091ed2b7d5b59db Mon Sep 17 00:00:00 2001 From: Or Bin Date: Sat, 15 Jan 2022 14:48:38 +0200 Subject: [PATCH 2/2] Added docker_compose_arch to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 885471b..8bf9e5f 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Variables to control the state of the `docker` service, and whether it should st docker_install_compose: true docker_compose_version: "1.26.0" + docker_compose_arch: x86_64 docker_compose_path: /usr/local/bin/docker-compose Docker Compose installation options.